Playground

Write any Go code and run it in the browser, up to 30 seconds per run. Paste input in the Input tab if your program reads os.Stdin. Nothing is graded, and your course progress stays the same.

main.go
package main

import "fmt"

func main() {
	fmt.Println("Halo, Gopher!")
}
Go runtime not loaded yet

Press Run to see what the program prints.

Ctrl/Cmd + Enter: Run · Ctrl/Cmd + S: tidy the code (gofmt)