add show-swagger config #83

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

No files matched your search

+3 -2
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"`