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

(fix) case of multiple go files in one directory #25

Merged
merged 1 commit into from
Mar 9, 2019

Conversation

michilu
Copy link
Contributor

@michilu michilu commented Mar 6, 2019

Hi! guys,

The go vet needs information about go packages.
So it is not the path to the go files.

before, got errors:

$ go vet dir/file.go
dir/file.go:26:10: undefined: FunctionInOutOfThisFile
...

after:

$ go vet $(go list)/dir

Thanks!

@dnephin
Copy link
Owner

dnephin commented Mar 9, 2019

Thanks for the fix!

@dnephin dnephin merged commit 8829647 into dnephin:master Mar 9, 2019
@dnephin dnephin mentioned this pull request Mar 9, 2019
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.

2 participants