Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PInt ¶
type PInt PositiveInt
type PositiveInt ¶
type PositiveInt int64
type S2 ¶
type S2 struct {
Name string `json:"name"` // name of object
// age of object
Age PInt `json:"age" required:"false"`
Nickname string `json:"nickname,omitempty"`
Friends []string `json:"friends"`
Items map[string]int `json:"items"`
Ignored string `json:"-"`
Greeting fmt.Stringer
Any any `jsonschema-override:"{'required': false, 'deprecated': true}"`
}
target object
Click to show internal directories.
Click to hide internal directories.