utils

package
v1.13.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoolAsStringEnvVar

func GetBoolAsStringEnvVar(env string, defaultVal bool) bool

Parse environment variable and return boolean representation of string, or default value if environment variable is unset

func GetEnv

func GetEnv(env, defaultVal string) string

If environment variable is set, return set value, otherwise return default value

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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