env

package
v0.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolVal

func GetBoolVal(envVar string, defaultValue bool) bool

GetBoolVal retrieves a boolean value from given environment envVar. Returns default value if envVar is not set.

func GetStringVal

func GetStringVal(envVar string, defaultValue string) string

GetStringVal retrieves a string value from given environment envVar Returns default value if envVar is not set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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