package config type Server struct { JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"` Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"` Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"` Casbin Casbin `mapstructure:"casbin" json:"casbin" yaml:"casbin"` System System `mapstructure:"system" json:"system" yaml:"system"` Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"` // gorm Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"` GormSettings GormSettings `mapstructure:"gorm-settings" json:"gormSettings" yaml:"gorm-settings"` // oss Local Local `mapstructure:"local" json:"local" yaml:"local"` Timer Timer `mapstructure:"timer" json:"timer" yaml:"timer"` Paypal Paypal `mapstructure:"paypal" json:"paypal" yaml:"paypal"` }