Go env

From NovaOrdis Knowledge Base
Revision as of 22:04, 27 October 2023 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

Internal

Overview

The env command prints the effective values of the environment variables relevant to the tool chain.

go env GOOS GOARCH GOPATH

Options

-w

The flag requires one or more NAME=VALUE arguments and changes the default settings for the named environment variables.