x/playground: document how does it execute modules without errors about missing go.mod
#73280
Labels
Documentation
Issues describing a change to documentation.
Milestone
Go version
1.24
Output of
go env
in your module/workspace:What did you do?
I ran https://go.dev/play/p/0LmhkzGwVUc in playground without
go.mod
errors.But running this code locally gives this,
What did you see happen?
I see that playground is detecting and downloading imported modules even without
go.mod
.What did you expect to see?
I expected to see some explanation of how playground does the automatic import. I would use the same feature for local development. But there are no docs. The only linked doc https://go.dev/blog/playground says "NOTE: This article does not describe the current version of the Go Playground." and have no mention of
go.mod
Expected to find these strings in playground source code.
Expected Go repository browser to have search capability.
Expected the README to link to this tracker https://github.com/golang/go/issues?q=playground%20in%3Atitle
Related to #69403
The text was updated successfully, but these errors were encountered: