examples

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Order

type Order struct {
	PetId    int64     `json:"petId"`
	Quantity int       `json:"quantity"`
	Id       int64     `json:"id"`
	ShipDate time.Time `json:"shipDate"`
	Complete bool      `json:"complete"`
	Status   string    `json:"status"`
}

type Pet

type Pet struct {
	Category struct {
		Name string `json:"name"`
		ID   int64  `json:"id"`
	} `json:"category"`
	Name      string   `json:"name"`
	PhotoUrls []string `json:"photoUrls"`
	Tags      []struct {
		Name string `json:"name"`
		ID   int64  `json:"id"`
	} `json:"tags"`
	Status string `json:"status"`
	ID     int64  `json:"id"`
}

type PetTag

type PetTag struct {
	PhotoUrls []string `json:"photoUrls"`
	Name      string   `json:"name"`
	ID        int64    `json:"id"`
	Category  struct {
		Name string `json:"name"`
		ID   int64  `json:"id"`
	} `json:"category"`
	Tags []struct {
		Name string `json:"name"`
		ID   int64  `json:"id"`
	} `json:"tags"`
	Status string `json:"status"`
}

type PetsTags

type PetsTags []PetTag

Jump to

Keyboard shortcuts

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