Go env

From NovaOrdis Knowledge Base
Revision as of 02:10, 21 February 2024 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Also see:

Go Environment Variables

Options

-w

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

Also see:

Go Environment Variables