env

package module
v0.0.0-...-e2010c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL