gin不依赖配置

This commit is contained in:
2024-12-17 22:47:16 +08:00
parent 754e1ae43c
commit c2d44e5947
24 changed files with 1377 additions and 60 deletions

View File

@ -1,7 +1,5 @@
package lightCore
var ConfigValue = &Config{}
type Config struct {
App AppConfigModel `mapstructure:"app" yaml:"app"`
Server ServerConfigModel `mapstructure:"server" yaml:"server"`