Download Page: https://golang.org.dl
.msi
is Windows's new install package file just double click it to install.
Environment Variable Config
Variable GO111MODULE's value should be set to "on" to enable module control tools(go mod
tools).
Variable GOBIN's value should be set to "$go/bin" where the "$go" is the directory where you installed Golang.
So that the Windows system can find the go
tools in "$go/bin" when you perform them in cmd.
Variable GOPATH's value should be a path, which will be used to save the modules installed from the remote repository.
Top comments (0)