Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upcmd/go: module declares its path as: golang.org/x/lint but was required as: github.com/golang/lint Makefile:12: recipe for target 'build' failed #35723
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
@ying2025 The lint package should be imported as it's canonical path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go: github.com/golang/lint@v0.0.0-20190313153728-d0100b6bd8b3: parsing go.mod:
module declares its path as: golang.org/x/lint
but was required as: github.com/golang/lint
Makefile:12: recipe for target 'build' failed
make: *** [build] Error 1
zhr@ubuntu:~/gospace/src/gith
My go version is go1.13.4 linux/amd64 @bcmills