This is a creation in Article, where the information may have evolved or changed.
1. Download and install the Go language
2. Environment variables and working directory settings
3. Download and install sublime text 3
4. Download and install Liteide
First, go to download page
Http://www/golangtc.com/download
Download and then unzip to the specified directory
Second, the environment variable configuration
1) Open the file using the editor ~/.bash_profile
2) Add the following at the end (set according to the actual situation):
Export Gopath=~/applications/go #此为全局工作目录
Export Goroot=~/documents/go #此为之前的go包放置的目录
Export Path=${path}: $GOROOT/bin: $GOPATH/bin
3) Execute source ~/.bash_profile make settings effective
4) Enter Go version in the terminal to view versions
5) Go env to see the relevant environment variables of GO
6) Create three directories under working directory for src Pkg bin where all the source code is to be placed under SRC
Third, download the address of sublime text 3 HTTP://WWW.SUBLIMETEXT.COM/3
Iv. download liteide Download address: http://www.golangtc.com/download/liteide
copyright notice: This article for Bo Master original article, without Bo Master permission not reproduced.