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
The Go custom import path checking convention [1, 2] does not seem to be documented anywhere in the standard docs.
Perhaps go/build is a reasonable place to document this, being the definitive place where the other comment-based conventions are documented AFAIK.
[1] https://golang.org/doc/go1.4#canonicalimports [2] https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Thanks! Perhaps it could be documented in go/build as well. What do you think?
I would add it as part of the overview.
Import comments are really the go command's job. go/build knows next to nothing about them, except for the ImportMode bit that Minux pointed out. I think the docs in cmd/go are sufficient.
No branches or pull requests
The Go custom import path checking convention [1, 2] does
not seem to be documented anywhere in the standard docs.
Perhaps go/build is a reasonable place to document this, being
the definitive place where the other comment-based conventions
are documented AFAIK.
[1] https://golang.org/doc/go1.4#canonicalimports
[2] https://docs.google.com/document/d/1jVFkZTcYbNLaTxXD9OcGfn7vYv5hWtPx9--lTx1gPMs
The text was updated successfully, but these errors were encountered: