Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { Isbn string `json:"isbn"` InStock *bool `json:"inStock,omitempty"` IsCheckedOut *bool `json:"isCheckedOut,omitempty"` }
func (Book) GetInStock ¶
type Furniture ¶
type Furniture struct { Sku string `json:"sku"` InStock *bool `json:"inStock,omitempty"` IsHeavy *bool `json:"isHeavy,omitempty"` }
func (Furniture) GetInStock ¶
type User ¶
type User struct { ID string `json:"id"` Metadata []*UserMetadata `json:"metadata,omitempty"` GoodDescription *bool `json:"goodDescription,omitempty"` }
type UserMetadata ¶
type UserMetadata struct {
Description *string `json:"description,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.