-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: document 'internal' package visibility for module mode #38579
Comments
The error message here is correct. In order for an In this case, that prefix is If you want an |
This behavior is documented in |
Adding This documentation to |
Change https://golang.org/cl/243398 mentions this issue: |
Change https://go.dev/cl/475640 mentions this issue: |
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: