env

package
v0.0.0-...-73e35a2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2017 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Vars variables

Vars is a struct that holds the current environment variables, needs to be initialised with Init(args []string)

Functions

func Init

func Init(args []string) []string

Init initializes the Vars struct with the environment variables, the first string in args defines the environment, the following should be of the form "VAR:VALUE" witch overrides VAR with VALUE for the environment. With no matching environment, Vars will be initialized with development variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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