cmd/go: document 'internal' package visibility for module mode #38579
Labels
Documentation
GoCommand
cmd/go
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/tnQdiMMclCx
What did you expect to see?
I expected the program to compile.
What did you see instead?
prog.go:7:2: use of internal package example.com/v2/internal/foo not allowed
The text was updated successfully, but these errors were encountered: