# Functions

EnvBool reads an environment variable, and if it is set, parses it using [strconv.ParseBool].
EnvDuration reads an environment variable, and if it is set, parses it as a [time.Duration].
EnvFloat reads an environment variable, and if it is set, parses it using [strconv.ParseFloat].
EnvInt reads an environment variable, and if it is set, parses it with [strconv.Atoi].If it is not set, it returns def.
EnvString reads an environment variable, and if it is not set, returns def.
No description provided by the author
RequireEnvInt reads an environment variable and parses it as a decimal int.
RequireEnvString reads an environment variable, and if it is not set, calls [log.Fatalf].