F
F
Franco Mannino2018-10-24 14:44:06
go
Franco Mannino, 2018-10-24 14:44:06

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

1 answer(s)
B
BellusAddictus, 2018-10-25
@garinov

https://github.com/golang/go/wiki/SettingGOPATH ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question