env

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(path string, e Env) error

Save saves an Env to <path>/env.json

Types

type Env

type Env map[string]string

Env is tmpl environment variables

func Load

func Load(path string) (Env, error)

Load loads an env from <path>/env.json

func (Env) Set

func (e Env) Set() error

Set sets all environment variables from an Env

Jump to

Keyboard shortcuts

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