env

package
v0.0.0-...-7dc6c5b Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// EnvMode is the mode of running environment.
	EnvMode string

	// BasePath is the project path.
	BasePath string
)

Functions

func String

func String(key, defaultValue string) string

String gets environment string value from given key. If the key does not exist, it will return default value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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