env

package
v0.0.0-...-6a52fcc Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEnv

func LoadEnv()

Types

type EVar

type EVar struct {
	// contains filtered or unexported fields
}

func New

func New(key string, defaultVal interface{}) *EVar

func (EVar) AsBool

func (eVar EVar) AsBool() bool

func (EVar) AsInt

func (eVar EVar) AsInt() int

func (EVar) AsString

func (eVar EVar) AsString() string

func (EVar) AsStringSlice

func (eVar EVar) AsStringSlice(sep string) []string

func (EVar) GetEnv

func (eVar EVar) GetEnv() interface{}

Jump to

Keyboard shortcuts

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