-
Notifications
You must be signed in to change notification settings - Fork 18k
go/build: not documented that files with leading underscore are ignored #7909
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
Labels
Milestone
Comments
This is intentional. Files whose names start with '_' or '.' are ignored (an underscore elsewhere in the file name is OK). However, I can't find any documentation for that, so changing this to a documentation issue. Labels changed: added repo-main, release-go1.3maybe, documentation. Status changed to Accepted. |
it's documented: http://golang.org/pkg/go/build/#Context.Import |
The relevant documentation is here: http://golang.org/cmd/go/#hdr-Description_of_package_lists "File names that begin with "." or "_" are ignored by the go tool." #3: That is for the go/build package, not the go tool. |
Status changed to Duplicate. Merged into issue #5655. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by ibit.zee:
The text was updated successfully, but these errors were encountered: