Golang Playground

Hello World

Copy the Hello World example into the editor. This will be automatically synced to the environment.

package main
import "fmt"
func main() {
    fmt.Println("hello world")
}

Run - go run app.go

Build - go build app.go

Launch - ./app

Interested in writing your own Golang scenarios and demos? Visit www.katacoda.com/teach

app.go