Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDir ¶
func EnsureDir(dir string)
Creates and sets permissions on a directory. Idempotent.
func EnvOrDefault ¶
func FromEnvOrDefault ¶
Attempt to retrieve a value from an environment variable if it is set. If not, use specified default value
func FromEnvOrF ¶
Attempt to retrieve a value from an environment variable if it is set. If not, use fallback function to generate value.
func PanicOnError ¶
func PanicOnError(err error)
func RequireEnv ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.