Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefaultBool ¶ added in v0.5.6
WithDefaultBool returns the boolean value of the supplied environment variable or, if not present, the supplied default value.
func WithDefaultFloat64 ¶ added in v0.12.0
WithDefaultFloat64 returns the float64 value of the supplied environment variable or, if not present, the supplied default value. If the float64 conversion fails, returns the default
func WithDefaultInt ¶
WithDefaultInt returns the int value of the supplied environment variable or, if not present, the supplied default value. If the int conversion fails, returns the default
func WithDefaultString ¶
WithDefaultString returns the string value of the supplied environment variable or, if not present, the supplied default value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.