Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support GO111MODULE packages without go files in root
Some packages don't have any go files in the root directory, for example, those following https://github.com/golang-standards/project-layout In the case of a GO111MODULE package with go.mod in place, we can just use "go list -m" and this will return the package name even without any go files in the project root. I've also updated the script to report all files that fail "go vet" in a single run instead of exiting after finding the first error. This is a fix for issue dnephin#30.
- Loading branch information