env

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintDiff

func PrintDiff(oldenv *Env, newenv *Env, diff string)

Types

type Env

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

func New

func New() *Env

func (*Env) ApplyEnv

func (env *Env) ApplyEnv()

func (*Env) GetEnv

func (env *Env) GetEnv(name string) *string

func (*Env) GetEnvs

func (env *Env) GetEnvs() map[string]*string

func (*Env) LoadDotenv

func (env *Env) LoadDotenv(fileName string) error

func (*Env) LoadEnvVars

func (env *Env) LoadEnvVars(text string) error

func (*Env) PrintAll added in v0.3.0

func (env *Env) PrintAll(withExport bool) error

func (*Env) PutEnv

func (env *Env) PutEnv(name string, value *string)

Jump to

Keyboard shortcuts

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