Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Save values of parsed flags in Config
type Schema ¶
type Schema struct { Type interface{} `json:"type,omitempty"` Enum []any `json:"enum,omitempty"` MultipleOf *float64 `json:"multipleOf,omitempty"` Maximum *float64 `json:"maximum,omitempty"` Minimum *float64 `json:"minimum,omitempty"` MaxLength *uint64 `json:"maxLength,omitempty"` MinLength *uint64 `json:"minLength,omitempty"` Pattern string `json:"pattern,omitempty"` MaxItems *uint64 `json:"maxItems,omitempty"` MinItems *uint64 `json:"minItems,omitempty"` UniqueItems bool `json:"uniqueItems,omitempty"` MaxProperties *uint64 `json:"maxProperties,omitempty"` MinProperties *uint64 `json:"minProperties,omitempty"` PatternProperties interface{} `json:"patternProperties,omitempty"` Required []string `json:"required,omitempty"` Items *Schema `json:"items,omitempty"` Properties map[string]*Schema `json:"properties,omitempty"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` Default interface{} `json:"default,omitempty"` }
Click to show internal directories.
Click to hide internal directories.