You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
golangcli-lint run command now fails with the following error
Running error: buildir: analysis skipped: errors in package: [src/server/pkg/iputil/iprange.go:13:2: could not import server/locerrors (src/server/locerrors/main.go:11:2: could not import server/pkg/locerror (src/server/pkg/locerror/locerror.go:6:2: could not import archive/zip (/gopath/linux64/src/archive/zip/reader.go:639:2: IsDir redeclared)))]
I believe skip-dirs loads the folder although i have set directory locerror to skip.
Can someone suggest on how i can work around this issue.
The text was updated successfully, but these errors were encountered:
I have a code that is importing archive/zip package. I run golangci-lint against the code and all works fine in go1.15
however in go1.16 there was a change introduced in archive/zip/reader.go (https://go.googlesource.com/go/+/refs/tags/go1.16.3/src/archive/zip/reader.go#655)
I have the following linter configuration
golangcli-lint run command now fails with the following error
Running error: buildir: analysis skipped: errors in package: [src/server/pkg/iputil/iprange.go:13:2: could not import server/locerrors (src/server/locerrors/main.go:11:2: could not import server/pkg/locerror (src/server/pkg/locerror/locerror.go:6:2: could not import archive/zip (/gopath/linux64/src/archive/zip/reader.go:639:2: IsDir redeclared)))]
I believe skip-dirs loads the folder although i have set directory locerror to skip.
Can someone suggest on how i can work around this issue.
The text was updated successfully, but these errors were encountered: