env

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env added in v0.0.3

type Env struct {
	Namespace, Workspace string
}

A string identifying a workspace, with helper functions to read and write the string to the environment file.

func New added in v0.0.3

func New(namespace, workspace string) (*Env, error)

func Read added in v0.0.3

func Read(path string) (env *Env, err error)

func (*Env) String added in v0.0.3

func (e *Env) String() string

func (*Env) Write added in v0.0.3

func (e *Env) Write(path string) error

Jump to

Keyboard shortcuts

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