environment

package
v0.0.0-...-c9ee09a Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	DEVELOPMENT string = "development"
	TESTING     string = "testing"
	STAGING     string = "staging"
	PRODUCTION  string = "production"
)

Environment Types

View Source
const (
	PORT              string = "PORT"
	PSQL_DATABASE_URL string = "POSTGRES_DATABASE_URL"
)

Environment Variables

Variables

This section is empty.

Functions

func GetActiveEnvironment

func GetActiveEnvironment() string

func GetEnvVar

func GetEnvVar(key string) string

func Set

func Set(env string) error

func SetWithRelativeDirectory

func SetWithRelativeDirectory(relativeDirectory string, env string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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