envkit

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetenvBoolWithDefault

func GetenvBoolWithDefault(key string, defaultValue bool) (bool, error)

func GetenvIntWithDefault

func GetenvIntWithDefault(key string, defaultValue int) (int, error)

func GetenvWithDefault

func GetenvWithDefault(key string, defaultValue string) string

func LoadEnv

func LoadEnv(paths ...string) error

func MustGetenv

func MustGetenv(key string) string

func ParseEnvFile added in v0.8.0

func ParseEnvFile(r io.Reader) (map[string]string, error)

func ReadEnvFile added in v0.8.0

func ReadEnvFile(path string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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