Answer the question
In order to leave comments, you need to log in
How to set PATH for GO in this environment?
I entered go env and got what is below,
how to set the PATH system variable for Go?
{ Golang } » go env /cygdrive/d/Golang
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=
set GORACE=
set GOROOT=D:\Go
set GOTOOLDIR=D:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\User\.babun\cygwin\tmp\go-build167736478=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question