env

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auto

func Auto()

func Flatten

func Flatten(fns ...string) (map[string]string, error)

func GetBool

func GetBool(key string, defaultValue ...bool) bool

func GetBooleans

func GetBooleans(key string, defaultValue ...bool) []bool

func GetDuration

func GetDuration(key string, defaultValue ...time.Duration) time.Duration

func GetFloat

func GetFloat(key string, defaultValue ...float64) float64

func GetFloats

func GetFloats(key string, defaultValue ...float64) []float64

func GetInt

func GetInt(key string, defaultValue ...int64) int64

func GetInts

func GetInts(key string, defaultValue ...int64) []int64

func GetMode

func GetMode() string

func GetString

func GetString(key string, defaultValue ...string) string

func GetStrings

func GetStrings(key string, defaultValue ...string) []string

func IsDEVMode

func IsDEVMode() bool

func IsFalse

func IsFalse(key string) bool

func IsTrue

func IsTrue(key string) bool

func NameFix

func NameFix(nameFixFunc func(name string) string)

func SetEnv

func SetEnv(key string, value string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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