Learning Golang with Go by example

Examples write by Mark McGranaghan - site

For run your programs use the command above:

$ go run <file>

If you prefer build your program use:

$ go build <file>

For specify the path where you want to save your program use:

$ go build -o <path/file> <file>