go env

Print Go environment information

Options

NameDescription
-jsonPrints the environment in JSON format instead of as a shell script
-u <arg...>Unset the default setting for the named environment variables
-w <arg...>Change the default settings of the named environment variables to the given values