dotenv

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(args ...interface{}) bool

Bool parse env value as bool

args set: (name) args set: (name, defaultValue)

func EnvConf added in v0.0.5

func EnvConf() *envconf.Config

EnvConf return the global config instance

func Float added in v0.0.8

func Float(args ...interface{}) float64

Float parse env value as float64

args set: (name) args set: (name, defaultValue)

func Int

func Int(args ...interface{}) int64

Int parse env value as int64

args set: (name) args set: (name, defaultValue)

func String

func String(args ...interface{}) string

String parse env value

args set: (name) args set: (name, defaultValue)

func Uint

func Uint(args ...interface{}) uint64

Uint parse env value as uint64

args set: (name) args set: (name, defaultValue)

Types

This section is empty.

Jump to

Keyboard shortcuts

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