Documentation
¶
Overview ¶
Package env consists of environment variables
Index ¶
Constants ¶
View Source
const ( Production = "production" Staging = "staging" )
Constants for environment values
Variables ¶
This section is empty.
Functions ¶
func AuthModelFilePath ¶
func AuthModelFilePath() string
AuthModelFilePath returns the path to the auth model file
func ConfigFilePath ¶
func ConfigFilePath() string
ConfigFilePath returns the path to the config file
func DBConfigFilePath ¶
func DBConfigFilePath() string
DBConfigFilePath returns the path to the db config file
func IsProduction ¶
func IsProduction() bool
IsProduction returns true if the environment is production
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.