nested

package
v0.0.0-...-9eeeec9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pet

type Pet struct {
	// Name of the animal.
	Name string `json:"name" jsonschema:"title=Name"`
}

Pet defines the user's fury friend.

type Plant

type Plant struct {
	Variant string `json:"variant" jsonschema:"title=Variant"` // This comment will be ignored
}

Plant represents the plants the user might have and serves as a test of structs inside a `type` set.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL