env

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2014 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, dflt bool) bool

Bool returns a bool from the env

func ExpandSlice

func ExpandSlice(vars []string) []string

ExpandSlice evaluates each string in the slice through os.ExpandEnv

func Get

func Get(key, dflt string) string

Get returns a string from the env

func Int

func Int(key string, dflt int) int

Int returns an int from the env

func Slice

func Slice(key, delim string, dflt []string) []string

Slice returns a string slice from the env given a delimiter

Types

This section is empty.

Jump to

Keyboard shortcuts

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