env

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Required = true
	Optional = false
)

Functions

func Bool

func Bool(key string, fallback bool, required bool) bool

func Duration

func Duration(key string, fallback time.Duration, required bool) time.Duration

func Int

func Int(key string, fallback int, required bool) int

func Int64

func Int64(key string, fallback int64, required bool) int64

func String

func String(key string, fallback string, required bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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