gin-blog/global/setting.go

19 lines
413 B
Go
Raw Permalink Normal View History

2021-05-28 10:40:39 +00:00
package global
import (
"blog/pkg/logger"
"blog/pkg/setting"
ut "github.com/go-playground/universal-translator"
2021-05-28 10:40:39 +00:00
)
var (
ServerSetting *setting.ServerSettingS
AppSetting *setting.AppSettingS
DatabaseSetting *setting.DatabaseSettingS
Logger *logger.Logger
2021-05-31 09:40:47 +00:00
JWTSetting *setting.JWT
EmailSetting *setting.EmailSettingS
ZhTrans ut.Translator
EnTrans ut.Translator
2021-05-28 10:40:39 +00:00
)