Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(env string)
Types ¶
type Config ¶
type Config struct {
Env string `mapstructure:"ENV"`
HTTP `mapstructure:",squash"`
Log `mapstructure:",squash"`
PG `mapstructure:",squash"`
}
var Global Config
type Environment ¶
type Environment string
const ( EnvDev Environment = "dev" EnvProd Environment = "production" EnvTest Environment = "test" )
Click to show internal directories.
Click to hide internal directories.