Golang Installation
#
ForwardTo develop a golang program, the installation of its environment must be indispensable. Here we choose to take 1.15.1 as an example.
#
Official documenthttps://golang.google.cn/doc/install
#
Install Go on macOS- Download and install Go for Mac
- Verify the installation result
#
Install Go on linux- Download Go for Linux
- Unzip the compressed package to
/usr/local
- Add
/usr/local/go/bin
to environment variables - Verify the installation result
#
Install Go on windows- Download and install Go for Windows
- Verify the installation result
#
MoreFor more operating system installation, see https://golang.org/dl/