forked from golangci/golangci-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gci.go
18 lines (16 loc) · 721 Bytes
/
gci.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//golangcitest:args -Egci
//golangcitest:config_path testdata/configs/gci.yml
package testdata
import (
"golang.org/x/tools/go/analysis" // want "File is not \\`gci\\`-ed with --skip-generated -s standard -s prefix\\(github.com/golangci/golangci-lint,github.com/daixiang0/gci\\) -s default --custom-order"
"github.com/golangci/golangci-lint/pkg/config"
"fmt"
"errors"
gcicfg "github.com/daixiang0/gci/pkg/config" // want "File is not \\`gci\\`-ed with --skip-generated -s standard -s prefix\\(github.com/golangci/golangci-lint,github.com/daixiang0/gci\\) -s default --custom-order"
)
func GoimportsLocalTest() {
fmt.Print(errors.New("x"))
_ = config.Config{}
_ = analysis.Analyzer{}
_ = gcicfg.BoolConfig{}
}