env

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CascadeMatch added in v0.7.7

func CascadeMatch(keys []string, dflt string) (string, string)

CascadeMatch is like Cascade, but also returns which env var was used to retrieve the value

func Slice

func Slice(key, delim string, dflt []string) []string

Slice returns a string slice from the env given a delimiter

func Uint added in v0.4.0

func Uint(key string, dflt uint64) uint64

Uint returns an uint from the env

Types

This section is empty.

Jump to

Keyboard shortcuts

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