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"` Reviews []*Review `json:"reviews,omitempty"` SimilarBooks []*Book `json:"similarBooks"` RelatedReviews []*Review `json:"relatedReviews"` }
func (Book) GetReviews ¶
type Car ¶
type Car struct { ID string `json:"id"` Price *string `json:"price,omitempty"` RetailPrice *string `json:"retailPrice,omitempty"` }
func (Car) GetRetailPrice ¶
type Error ¶
func (Error) IsMetadataOrError ¶
func (Error) IsMetadataOrError()
type Furniture ¶
func (Furniture) GetReviews ¶
type KeyValue ¶
func (KeyValue) IsMetadataOrError ¶
func (KeyValue) IsMetadataOrError()
type MetadataOrError ¶
type MetadataOrError interface {
IsMetadataOrError()
}
type Review ¶
type Review struct { ID string Body *string AuthorID string Product Product Metadata []MetadataOrError }
type ReviewProduct ¶
type UpdateReviewInput ¶
type User ¶
type UserMetadata ¶
type UserMetadata struct {
Address *string `json:"address,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.