package
2.5.3
Repository: https://github.com/bitrise-io/envman.git
Documentation: pkg.go.dev

# Functions

GetDeclarationsSideEffects iterates over the list of ordered new declared variables sequentially and returns the needed commands (like os.Setenv) to add the variables to the current environment.
SplitEnv splits an env returned by os.Environ.

# Constants

InvalidAction represents an unexpected state.
SetAction is an environment variable assignment, like os.Setenv.
SkipAction means that no action is performed (usually for an env with an empty value).
UnsetAction is an action to clear (if existing) an environment variable, like os.Unsetenv.

# Variables

EnvmanSharedTestCases are test cases used as unit and integration tests.

# Structs

Command describes an action performed on an environment variable.
DeclarationSideEffects is returned by GetDeclarationsSideEffects().
DefaultEnvironmentSource is a default implementation of EnvironmentSource, returns the current environment.
Variable is an environment variable.

# Interfaces

EnvironmentSource implementations can return an initial environment.

# Type aliases

Action is a possible action changing an environment variable.