Better Go Playground
Improved Go Playground powered by Monaco Editor and React - https://goplay.tools/
Features
π Dark themeπ‘ Code autocompleteπΎ Load and save filesπ Snippets and tutorialsβ Customization (fonts, ligatures, etc)π WebAssembly support
And more !
Installation
Docker
Playground is available via Docker Hub.
See wiki for usage info.
Local instance
Service can be built and run locally (Go 1.12+ and Node.js required):
$ git clone https://github.com/x1unix/go-playground.git
$ cd go-playground
$ make
To run the playground, go to target
directory and start the server:
$ cd target
$ ./playground -f ./data/packages.json -debug
Use -help
to get information about command params
Third-party credits
- Default playground run server provided by play.golang.org
- Code for templates and tutorials provided by gobyexample.com
- Code completion snippets were inspired by tj/vscode-snippets
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute].
Financial Contributors
Become a financial contributor and help us sustain our community. [Contribute]
Individuals
Organizations
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]