env

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MPL-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadEnv

func ReadEnv(name, defaultVal string) string

func ReadEnvBool

func ReadEnvBool(name string, defaultVal bool) bool

func ReadEnvFloat

func ReadEnvFloat(name string, defaultVal float64) float64

func ReadEnvInt

func ReadEnvInt(name string, defaultVal int) int

func ReadEnvInt64

func ReadEnvInt64(name string, defaultVal int64) int64

func ReadEnvOrError

func ReadEnvOrError(name string) (string, error)

func ReadEnvOrFail

func ReadEnvOrFail(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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