environment

package
v0.0.0-...-d44e891 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvAsMap

func GetEnvAsMap() map[string]string

func GetVirtualEnvAsMapFromFile

func GetVirtualEnvAsMapFromFile() map[string]string

Types

type Env

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

func GetInstance

func GetInstance() *Env

func (*Env) GetEnv

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

func (*Env) GetEnvAndVirtualEnv

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

func (*Env) GetEnvAndVirtualEnvArray

func (env *Env) GetEnvAndVirtualEnvArray() []string

func (*Env) GetVirtualEnv

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

func (*Env) SetEnvVar

func (env *Env) SetEnvVar(key string, value string) bool

func (*Env) SetEnvVars

func (env *Env) SetEnvVars(envVars map[string]string) map[string]string

Jump to

Keyboard shortcuts

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