1.2 KiB
title |
---|
Go Playground |
The Golang Playground
The Golang playground is a website where you can write Go code online, so that you don't have to set up any developmet environment.
Just open a new browser window clicking Playground.
Once there you'll get the buttons:
- Run
- Format
- Imports
- Share
The Run button sends the instruction to compile the code you wrote to the google servers that run the golang backend.
The Format button implements the idiomatic formatting style of the language, you can read more here
Imports just check what packages you have declared within import(). An import path is a string that uniquely identifies a package. A package's import path corresponds to its location inside a workspace or in a remote repository (explained below). More
With Share you get an URL where the code you just wrote is saved. Useful when asking for help showing your code.