编译golint

编译golint

C:\Go\src\github.com\golang\lint\golint>go build golint.go
# command-line-arguments
.\golint.go:44: undefined: allPackagesInFS
.\golint.go:52: undefined: importPaths

Don't use a list of filenames with go build. You've skipped the import.go file. Just run go build.
posted @ 2018-07-28 14:20  星空42  阅读(279)  评论(0)    收藏  举报