github.com/golangCi/golangCi-lint@v1.10.1/test/testdata/goimports.go (about) 1 // args: -Egoimports 2 package testdata 3 4 import ( 5 "fmt" // ERROR "File is not `goimports`-ed" 6 "github.com/golangci/golangci-lint/pkg/config" 7 ) 8 9 func Bar() { 10 fmt.Print("x") 11 _ = config.Config{} 12 }