Versions in this module Expand all Collapse all v0 v0.1.1 Dec 19, 2024 Changes in this version + var ErrEnvVarNotFound = errors.New("environment variable not found") + func WhenAvailable(write func() error) error v0.1.0 Dec 19, 2024 Changes in this version + const EnvName + func Write(key string, value string) error + func WriteMap(values map[string]string) error + type Env interface + Get func(key string) (string, error) + type LocalEnv struct + func NewLocalEnv() *LocalEnv + func (LocalEnv) Get(key string) (string, error) + type MapEnv map[string]string + func (e *MapEnv) Get(key string) (string, error) + type Writer struct + func NewWriter(env Env) *Writer + func (w *Writer) WriteMap(values map[string]string) error