auto_code.go 1.2 KB

123456789101112131415161718
  1. package config
  2. type Autocode struct {
  3. TransferRestart bool `mapstructure:"transfer-restart" json:"transferRestart" yaml:"transfer-restart"`
  4. Root string `mapstructure:"root" json:"root" yaml:"root"`
  5. Server string `mapstructure:"server" json:"server" yaml:"server"`
  6. SApi string `mapstructure:"server-api" json:"serverApi" yaml:"server-api"`
  7. SInitialize string `mapstructure:"server-initialize" json:"serverInitialize" yaml:"server-initialize"`
  8. SModel string `mapstructure:"server-model" json:"serverModel" yaml:"server-model"`
  9. SRequest string `mapstructure:"server-request" json:"serverRequest" yaml:"server-request"`
  10. SRouter string `mapstructure:"server-router" json:"serverRouter" yaml:"server-router"`
  11. SService string `mapstructure:"server-service" json:"serverService" yaml:"server-service"`
  12. Web string `mapstructure:"web" json:"web" yaml:"web"`
  13. WApi string `mapstructure:"web-api" json:"webApi" yaml:"web-api"`
  14. WForm string `mapstructure:"web-form" json:"webForm" yaml:"web-form"`
  15. WTable string `mapstructure:"web-table" json:"webTable" yaml:"web-table"`
  16. WFlow string `mapstructure:"web-flow" json:"webFlow" yaml:"web-flow"`
  17. }