News for hackers. Stuff that matters.
Re:Go 1.8 Release Candidate 1 is released by tumdum_ on Wednesday January 11, 2017 @07:42AM (#13373523)
Go the language does not require any environment variable (see https://golang.org/ref/spec). Go the tool (that wraps compilations and linking) did depend on $GOPATH environment variable to find location of installed packages (see https://golang.org/cmd/go/#hdr-GOPATH_environment_variable).

In some ways this is similar to cargo which depends on existence of ~/.cargo

btw. you can manually invoke Go compiler and linker. A very simple example from some time ago can be found here: https://github.com/tumdum/go_build

There are no comments on this comment yet.