env

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(key string) string

func SetFakeEnv

func SetFakeEnv(kv map[string]string)

Types

type Env

type Env interface {
	Get(string) string
}

type FakeEnv

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

func (FakeEnv) Get

func (f FakeEnv) Get(key string) string

Jump to

Keyboard shortcuts

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