About the Playground

The go2go Playground is a web service that runs on golang.org's servers. The service receives a Go program, vets, compiles, links, and runs the program inside a sandbox, then returns the output.

This experimental instance of the playground supports the syntax described in the Type Parameters design draft, utilizing the go2go tool.

The best way to provide feedback for the language changes will be on the mailing list golang-nuts@googlegroups.com. Mailing lists are imperfect, but they seem like our best option for initial discussion. When writing about the design draft, please put [generics] at the start of the Subject line and to start different threads for different specific topics.

If you find bugs in the generics type checker, the translation tool, or this playground instance they should be filed in the standard Go issue tracker at https://golang.org/issue. Please start the issue title with cmd/go2go:. Note that the issue tracker is not the best place to discuss changes to the language, because it does not provide threading and it is not well suited to lengthy conversations.

We look forward to your feedback.

There are limitations to the programs that can be run in the playground:

The source code is available at https://go.googlesource.com/playground/+/refs/heads/dev.go2go.

Any requests for content removal should be directed to security@golang.org. Please include the URL and the reason for the request.