cmd/go: modules: exposure of internal packages #30569
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
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?
What did you expect to see?
[user@localhost pkg]$ go test module/module.go:4:2: use of internal package golang.org/x/tools/internal/module not allowed FAIL github.com/user/pkg [setup failed]
What did you see instead?
[user@localhost pkg]$ go test PASS ok github.com/user/pkg 0.001s
The text was updated successfully, but these errors were encountered: