Documentation
¶
Index ¶
- func BoolOr(key string, def ...bool) bool
- func DurationOr(key string, def ...time.Duration) time.Duration
- func IntOr(key string, def ...int) int
- func Or(key string, def ...string) string
- func SliceOr(key string, def []string) []string
- func SliceSeparatorOr(key string, sep string, def []string) []string
- func Subst(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationOr ¶
DurationOr returns environment variable as Duration or default.
func SliceSeparatorOr ¶
SliceOr returns environment variable as slice (comma-separated) or default.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.