ienv

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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