Documentation
¶
Overview ¶
Package environment providies utilities for managing environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
Initialize sets a bunch of environment variables and then returns the name of them in a string slice. It will also determine what version control, if any is in use, and set variables for it as well.
func Map ¶ added in v0.10.2
Map will return the value matching a KEY=VAL pair in the given environment.
func Mapper ¶
Mapper will replace ${TEMPLATE} patterns in the string with the KEY=VAL pairs in the given environment. This function will replace patterns recursively, so if VAL has the form ${TEMPLATE}, it will be replaced again.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.