Glossary: Go Beyond the Basics
environment variable
Also written: os.Getenv, env var
A named setting the shell passes to a program, such as `LOG_LEVEL=debug`. A Go program reads it with `os.Getenv`, which returns `""` if it is unset.
Glossary: Go Beyond the Basics
Also written: os.Getenv, env var
A named setting the shell passes to a program, such as `LOG_LEVEL=debug`. A Go program reads it with `os.Getenv`, which returns `""` if it is unset.