env

package
v0.0.0-...-ab64b81 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 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
}

Jump to

Keyboard shortcuts

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