envutil

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvDefault

func GetEnvDefault(key, def string) string

GetEnvDefault returns the value of an environment variable or a default value.

func GetEnvDurationDefault

func GetEnvDurationDefault(key string, def time.Duration) time.Duration

GetEnvDurationDefault returns the value of an environment variable or a default value.

func GetEnvIntDefault

func GetEnvIntDefault(key string, def int) int

GetEnvIntDefault returns the value of an environment variable or a default value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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