env

package module
v0.0.0-...-5e59db4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupEnvOrBool

func LookupEnvOrBool(key string, defaultVal bool) bool

Returns environment value if set, otherwise returns defined default bool value

func LookupEnvOrInt

func LookupEnvOrInt(key string, defaultVal int) int

Returns environment value if set, otherwise returns defined default int value

func LookupEnvOrString

func LookupEnvOrString(key string, defaultVal string) string

Returns environment value if set, otherwise returns defined default string value

Types

This section is empty.

Jump to

Keyboard shortcuts

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