install Go windows code example
Example 1: check go is installed mac
# in a shell/terminal
go version
Example 2: how to setup golang in windows
after installed go success on windows, setup this config in your local machine
GOPATH = C:\Program Files\Go
GOROOT = C:\Users\<your computer name>\go
GOBIN = C:\Program Files\Go\bin