env

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBool

func GetBool(key string, def bool) (bool, error)

func GetBools

func GetBools(key string) ([]bool, error)

func GetFloat32

func GetFloat32(key string, def float32) (float32, error)

func GetFloat32s

func GetFloat32s(key string) ([]float32, error)

func GetFloat64

func GetFloat64(key string, def float64) (float64, error)

func GetFloat64s

func GetFloat64s(key string) ([]float64, error)

func GetInt

func GetInt(key string, def int) (int, error)

func GetInt16

func GetInt16(key string, def int16) (int16, error)

func GetInt16s

func GetInt16s(key string) ([]int16, error)

func GetInt32

func GetInt32(key string, def int32) (int32, error)

func GetInt32s

func GetInt32s(key string) ([]int32, error)

func GetInt64

func GetInt64(key string, def int64) (int64, error)

func GetInt64s

func GetInt64s(key string) ([]int64, error)

func GetInt8

func GetInt8(key string, def int8) (int8, error)

func GetInt8s

func GetInt8s(key string) ([]int8, error)

func GetInts

func GetInts(key string) ([]int, error)

func GetString

func GetString(key string, def string) string

func GetStrings

func GetStrings(key string) []string

func GetUint

func GetUint(key string, def uint) (uint, error)

func GetUint16

func GetUint16(key string, def uint16) (uint16, error)

func GetUint16s

func GetUint16s(key string) ([]uint16, error)

func GetUint32

func GetUint32(key string, def uint32) (uint32, error)

func GetUint32s

func GetUint32s(key string) ([]uint32, error)

func GetUint64

func GetUint64(key string, def uint64) (uint64, error)

func GetUint64s

func GetUint64s(key string) ([]uint64, error)

func GetUint8

func GetUint8(key string, def uint8) (uint8, error)

func GetUint8s

func GetUint8s(key string) ([]uint8, error)

func GetUints

func GetUints(key string) ([]uint, error)

func Lookup

func Lookup(key string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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