I remember when Go was announced on november 2009. It was really interesting, also because it is nice to follow a project since the beginning. But I decided to learn it only at the time of this writing.
It has interesting features, a clean ecosystem, it runs on Google App Engine: it is very attractive!
Get your installer from Go Downloads.
Create or edit the following environment variables
- the path to your Go installation
- see here
- edit it to find the go binary in your PATH
For instance, on Windows add the environment variables
- then I edit
Don’t forget to create GOPATH folder
For instance, open an MS-DOS prompt and launch
C:\> mkdir %GOPATH%
On Mac OSX, create a folder for Golang
Then add the following to your shell profile
export GOPATH=~/.Golang export GOBIN=$GOPATH/bin export PATH=$PATH:$GOBIN
See Go section in my Vim configuration.