Documentation ¶ Index ¶ func EnvOrBool(envVar string, defaultValue bool) bool func EnvOrFloat64(envVar string, defaultValue float64) float64 func EnvOrInt(envVar string, defaultValue int) int func EnvOrStr(key, defaultValue string) string func EnvOrUint(envVar string, defaultValue uint) uint Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EnvOrBool ¶ func EnvOrBool(envVar string, defaultValue bool) bool EnvOrBool ... func EnvOrFloat64 ¶ func EnvOrFloat64(envVar string, defaultValue float64) float64 EnvOrFloat64 ... func EnvOrInt ¶ func EnvOrInt(envVar string, defaultValue int) int EnvOrInt ... func EnvOrStr ¶ func EnvOrStr(key, defaultValue string) string EnvOrStr returns an env variable's value if it is exists or the default if not func EnvOrUint ¶ func EnvOrUint(envVar string, defaultValue uint) uint EnvOrUint ... Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.