common

package
v0.0.0-...-1aaf8f9 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppDir

func AppDir() string

func Env

func Env() string

Env Returns the value exported to GOENV in the system. Defaults to 'development'.

func IsDevelopment

func IsDevelopment() bool

func IsEnv

func IsEnv(name string) bool

IsEnv helper function for cleaner boolean conditions if isEnv("production) { ... } else { ... } //etc

func IsProduction

func IsProduction() bool

func IsTest

func IsTest() bool

func MustLoadEnv

func MustLoadEnv()

Types

This section is empty.

Directories

Path Synopsis
db
seeds command

Jump to

Keyboard shortcuts

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