https://github.com/index0h/dive-into-golang
cd ~/Downloads wget -c https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz shasum -a 256 go1.7.3.linux-amd64.tar.gz sudo tar -C /usr/local -xvzf go1.11.2.linux-amd64.tar.gz
mkdir -p ~/go_projects/{bin,src,pkg}
$HOME/.profile export PATH=$PATH:/usr/local/go/bin export GOPATH="$HOME/go_projects" export GOBIN="$GOPATH/bin"
source ~/.profile
go install /home/andrey/go_projects/src/testDrive/hello.go $GOBIN/hello
go run hello.go go test
Assignment with type :=
Upcast and downCast
Bits operations