Skip to content

env: add analogue of os.Getenv and os.Setenv #65

@kamilsk

Description

@kamilsk
	vars := env.Environment{
		env.Must("GIT_REMOTE", "git@github.com:octomation/maintainer.git"),
		env.Must("GITHUB_TOKEN", "secret"),
	}
	vars.Get("GIT_REMOTE")
	vars.Set("GIT_REMOTE", "new value")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions