thanks. Just run `go env` and see it and is curious about it.
===
Ning Xie
2016-08-13 20:01 GMT+08:00 Anmol Sethi :
> I looked in the Go source code. You can’t actually set it as a environment
> variable. It’s the value of the executable suffix. It’s set automatically
> in build.go. Like
I looked in the Go source code. You can’t actually set it as a environment
variable. It’s the value of the executable suffix. It’s set automatically in
build.go. Like if running on windows, it is '.exe’ or for c-archives it is ‘.a’.
I don’t think it matters for an end user.
> On Aug 13, 2016, a
when run `go env`, i get the following output:
```
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/andy/Github/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fP