You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: