package
Version:
v0.1.7
Opens a new window with list of versions in this module.
Published: Sep 3, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NamedPets is a map of animal names to pets.
type Pet struct {
Name string `json:"name" jsonschema:"title=Name"`
}
Pet defines the user's fury friend.
Pets is a collection of Pet objects.
type Plant struct {
Variant string `json:"variant" jsonschema:"title=Variant"`
}
Plant represents the plants the user might have and serves as a test
of structs inside a `type` set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.