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

cmd/go: should not use root directory as source of package files #2602

Closed
rsc opened this issue Dec 21, 2011 · 3 comments
Closed

cmd/go: should not use root directory as source of package files #2602

rsc opened this issue Dec 21, 2011 · 3 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Dec 21, 2011

$GOROOT/src/pkg is the root of a filetree.Walk.
it should not be used as the source of a package:
any go files in src/pkg should be ignored.
the same is true of the src dir in any $GOPATH directory.
@robpike
Copy link
Contributor

robpike commented Jan 13, 2012

Comment 1:

Owner changed to builder@golang.org.

@rsc
Copy link
Contributor Author

rsc commented Jan 30, 2012

Comment 2:

Labels changed: added go1-must.

@rsc
Copy link
Contributor Author

rsc commented Jan 31, 2012

Comment 3:

This issue was closed by revision 0f10566.

Status changed to Fixed.

@rsc rsc added fixed labels Jan 31, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants