added default language code
parent
0e25f2b407
commit
4adb4606b6
|
@ -1,4 +1,5 @@
|
|||
debug: false
|
||||
defaultLanguageCode: "en"
|
||||
rabbitmq:
|
||||
host: "127.0.0.1"
|
||||
username: "guest"
|
||||
|
|
|
@ -11,6 +11,7 @@ var Cfg Config
|
|||
|
||||
type Config struct {
|
||||
Debug bool
|
||||
DefaultLanguageCode string `yaml:"defaultLanguageCode"`
|
||||
RabbitMq RabbitMq
|
||||
Mail Mail
|
||||
Templates Templates
|
||||
|
@ -31,8 +32,8 @@ type Mail struct {
|
|||
}
|
||||
|
||||
type Templates struct {
|
||||
FolderPath string
|
||||
ConfigPath string
|
||||
FolderPath string `yaml:"folderPath"`
|
||||
ConfigPath string `yaml:"configPath"`
|
||||
}
|
||||
|
||||
func LoadConfig() {
|
||||
|
|
Loading…
Reference in New Issue