Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDefaultBool ¶
WithDefaultBool returns the boolean value of the supplied environment variable or, if not present, the supplied default value.
func WithDefaultFloat64 ¶
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 WithDefaultInt64 ¶
WithDefaultInt64 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.