Table of Contents

Steps

package main

import "fmt"

func main() {
    fmt.Printf("hello, world\n")
}
  • Compile it
go install base_path/package/hello

Documentation / Reference