Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint: run golint in null module packages successfully #2318

Merged
merged 1 commit into from
May 27, 2019

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented May 27, 2019

Do not try to determine the package name to give to golint, because
go#pacakge#ImportPath returns -1 for null modules. Just use . to
indicate the package in the current directory.

Fixes #2316

Do not try to determine the package name to give to golint, because
`go#pacakge#ImportPath` returns -1 for null modules. Just use . to
indicate the package in the current directory.

Fixes fatih#2316
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:GoLint fails in null module
1 participant