Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { ServerPort string `env:"SV_PORT"` ServerEnvironment string `env:"SV_ENVIRONMENT"` DbName string `env:"DB_NAME"` MongoURI string `env:"MONGO_URI"` }
var (
Config *Configuration = LoadEnv()
)
func LoadEnv ¶
func LoadEnv() *Configuration
Click to show internal directories.
Click to hide internal directories.