cfg

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvOrDefaultInt

func EnvOrDefaultInt(e string, d int) int

EnvOrDefaultInt takes an env var and returns its value as an int or the default if its not set

func EnvOrDefaultString

func EnvOrDefaultString(e, d string) string

EnvOrDefaultString takes an env var and returns its value as a string or the default if its 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