when I declare my Go environment (namely GOPATH and GOROOT using simple export):
export GOROOT=/usr/lib/go-1.9/
export GOPATH=/my/workspace/go
The current terminal recognizes the variables normally, but if I open another terminal window, these variables are not set and they need to be reconfigured from scratch.
Is there a go-specific way to set default values for go environment variables other than common ways like editing the .bashrc file?