internal

package
v0.0.0-...-2d3cc3e Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, fallback string) string

GetEnv will try to get value from os.LookupEnv and otherwise return fallback string

Example
myEnv := GetEnv("SomeKey", "DefaultValue")
fmt.Println(myEnv)
Output:

DefaultValue

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