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

14 lines
245 B
Go

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
}