go-env

Manage environment variables used by the Go toolchain.

TLDR

Show all environment variables

$ go env
copy

Show a specific environment variable

$ go env [GOPATH]
copy

Set an environment variable to a value

$ go env -w [GOBIN]=[path/to/directory]
copy

Reset an environment variable's value

$ go env -u [GOBIN]
copy

Copied to clipboard
gala