env

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env interface {
	Get(key string) string
}

func New

func New() Env

func NewWithStubs

func NewWithStubs(stubs Stubs) Env

type MockEnv

type MockEnv struct {
	mock.Mock
}

MockEnv is an autogenerated mock type for the Env type

func (*MockEnv) Get

func (_m *MockEnv) Get(key string) string

Get provides a mock function with given fields: key

type Stubs

type Stubs map[string]string

Jump to

Keyboard shortcuts

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