Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetEnvConfig ¶
func SetEnvConfig()
Types ¶
type Configuration ¶
type Configuration struct { // AppEnv string `env:"APP_ENV"` LogLevel string `env:"LOG_LEVEL"` RunningMode string `env:"RUNNING_MODE"` //fallback or main DBName string `env:"DB_NAME"` DBUsername string `env:"DB_USERNAME"` DBPassword string `env:"DB_PASSWORD"` DBHost string `env:"DB_HOST"` DBPort string `env:"DB_PORT"` }
var CONFIGURATION *Configuration
Click to show internal directories.
Click to hide internal directories.