feat: 初始化项目路由
This commit is contained in:
1 parent
4cec3f131a
commit
92a9e20934
11 files changed
+91
-83
No files matched your search
@@ -0,0 +1 @@
|
||||
package conf
|
||||
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user