niki/vendor/github.com/swaggo/swag/enums.go

14 lines
245 B
Go
Raw Normal View History

2024-05-14 13:07:09 +00:00
package swag
const (
enumVarNamesExtension = "x-enum-varnames"
enumCommentsExtension = "x-enum-comments"
)
// EnumValue a model to record an enum consts variable
type EnumValue struct {
key string
Value interface{}
Comment string
}