add show-swagger config #83

This commit is contained in:
lejianwen
2024-12-18 12:50:09 +08:00
parent 41fd387baf
commit c298ddea0c
4 changed files with 11 additions and 4 deletions

View File

@@ -14,8 +14,9 @@ const (
)
type App struct {
WebClient int `mapstructure:"web-client"`
Register bool `mapstructure:"register"`
WebClient int `mapstructure:"web-client"`
Register bool `mapstructure:"register"`
ShowSwagger int `mapstructure:"show-swagger"`
}
type Admin struct {
Title string `mapstructure:"title"`