Alan A. A. Donovan and Brian W. Kernighan, The Go Programming Language. Addison-Wesley, 2016, Chapter 1, Tutorial

Install language, run script from command line. Provides no REPL.

1
2
$ brew install golang
$ go run hello.go

Hello world.

1
2
3
4
5
6
7
8
9
10
11
package main

import "fmt"

func helloWorld() {
	fmt.Println("Hello, Dünya")
}

func main() {
	helloWorld()
}