The first time to install GO, after editing the code it shows

go: GOPATH entry is relative; must be absolute path: “\C:\go\bin”.
For more details see: ‘go help gopath’

Remove the prefix slash from your GOPATH in the environment.

GOPATH shouldn’t point to the install folder of go anyway. Nowadays its best to just not set the variable.