Hello World in Golang

Hello World

1The following snippet can be copied into the editor:

package main

import (
    "fmt"
)

func main() {
    fmt.Println("Hello World!")
}

Code can be executed with the syntax go run main.go

main.go