feat: 初始化项目路由

This commit is contained in:
unclesam committed 2026-07-07 21:44:41 +08:00
1 parent 4cec3f131a
commit 92a9e20934
11 files changed
+91 -83

No files matched your search

+4 -2
View File
@@ -1,6 +1,8 @@
package conf
type ServerConfig struct {
Port int `mapstructure:"port" yaml:"port"`
Mode string `mapstructure:"mode" yaml:"mode"` // debug / release
Port int `mapstructure:"port" yaml:"port"`
Mode string `mapstructure:"mode" yaml:"mode"` // debug / release
AllowOrigins []string `mapstructure:"allow_origins" yaml:"allow_origins"`
Version string `mapstructure:"mode" yaml:"version"`
}