env

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string) (bool, error)

func BoolDefault

func BoolDefault(key string, def bool) bool

func Bytes

func Bytes(key string) ([]byte, error)

func BytesDefault

func BytesDefault(key string, def []byte) []byte

func Int

func Int(key string) (int, error)

func IntDefault

func IntDefault(key string, def int) int

func MustBool

func MustBool(key string) bool

func MustBytes

func MustBytes(key string) []byte

func MustInt

func MustInt(key string) int

func MustStr

func MustStr(key string) string

func New

func New(filenames ...string) error

func Str

func Str(key string) (string, error)

func StrDefault

func StrDefault(key, def 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