env

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Native

type Native struct{}

Native settings using environment variables.

func (Native) Configure

func (env Native) Configure()

Configure the environment.

func (Native) Has

func (env Native) Has(name string) bool

Has returns if the environment has a value for the given environment variable.

func (Native) Int

func (env Native) Int(name string) int

Int returns the integer value of the given environment variable.

func (Native) String

func (env Native) String(name string) string

String returns the string value of the given environment variable.

func (Native) True

func (env Native) True(name string) bool

True returns the boolean value of the given environment variable.

Jump to

Keyboard shortcuts

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