Documentation ¶ Index ¶ func Get[T types](envName string, defaultValue ...T) T Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get[T types](envName string, defaultValue ...T) T Get retrieves a variable from the environment. If not found, it returns the default value. If defaultValue is set and the variable is not found, it panics. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.