-
Notifications
You must be signed in to change notification settings - Fork 267
gometalinter warnings for go 1.11 #564
Comments
|
I am also experiencing this after upgrading from 1.10 to 1.11.3. |
#149 seems related and has some possible solutions. |
I'm seeing something similar to this where the linters run against go modules that my app imports.
Output from
Manually excluding $GOPATH/pkg/mod directory seems to work though. |
I believe the problem is that the linter uses https://godoc.org/golang.org/x/tools/go/loader (or some other library) that does not understand go modules. All the linters will need to be updated to use https://godoc.org/golang.org/x/tools/go/packages and then we will need to update the vendored copy of the linter. Once that is done it will work with go modules. Until then you'll have to |
How can I ignore the warning for go source code?
The text was updated successfully, but these errors were encountered: