Go env: Difference between revisions
Jump to navigation
Jump to search
(→-w) |
|||
Line 12: | Line 12: | ||
==<tt>-w</tt>== | ==<tt>-w</tt>== | ||
The flag requires one or more <code>NAME=VALUE</code> arguments and changes the default settings for the named environment variables. | The flag requires one or more <code>NAME=VALUE</code> arguments and changes the default settings for the named environment variables. | ||
Also see: {{Internal|Go_Environment_Variables#Overview|Go Environment Variables}} |
Revision as of 01:01, 21 February 2024
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.
Also see: