env

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Env

type Env struct{}

Env provides environment dependencies, such as environment variables and current directory.

func (*Env) Chdir

func (e *Env) Chdir(dir string) error

func (*Env) Getenv

func (e *Env) Getenv(key string) string

type Interface

type Interface interface {
	Getenv(key string) string
	Chdir(dir string) error
}

Directories

Path Synopsis
Package mock_env is a generated GoMock package.
Package mock_env is a generated GoMock package.

Jump to

Keyboard shortcuts

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