DEV Community

Cover image for golang playground
tcs224
tcs224

Posted on

golang playground

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. Do you want to start with Golang as quick as possible?

You can use the online go playground. This lets you run Go programs right from your web browser.

If you prefer having golang on your computer, you can install Golang on your pc. While it may take some time to install, you can then use your favorite IDE with golang.

Go playground

The go playground presents you with an interface where in yellow pane where you can type your Go code. It already shows some code when opening:

package main

import (
    "fmt"
)

func main() {
    fmt.Println("Hello, playground")
}

This is a basic program that you can run, but you can change the code if you want to. On top there is the navigation, click run to run the Go program.

You'll see it output the current program below the yellow pane.

go playground

By default it runs the hello world program. There's a share button in the go playground, which lets you share your code online.

So where to go from here?

You could try some go tutorials like the golang tour or a traditional tutorial.

Oldest comments (0)