First, installation instructions
Https://studygolang.com/dl
Second, environment variables
Download the *.msi installation file, and some environment variables are configured by default. Other configurations are described below
Iii. directory and project-level relationships
After the system environment variable configuration, Gopath's directory is your work area, and C#/java and other languages do not pass, you can freely store the project directory path.
In go, if there is a directory "package" level reference relationship, it must be stored under Gopath.
For example: Gopath=d:\goworks
Then the corresponding directory will have SRC, pkg, bin three directory
SRC below each folder, it corresponds to a separate project, all the IDE Tools reference directory, is also this path.
Otherwise there will be confusion, not conducive to development efficiency.
Four, the classic practical cases
https://www.jianshu.com/p/a3f63b5da74c
Chinese Forum: https://studygolang.com