Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Details ¶
type Details struct {
Description string `json:"description"`
Score float64 `json:"score"`
WasVerified bool `json:"was_verified"`
Info Info `json:"info"`
}
Details represents the nested details structure.
type Info ¶
type Info struct {
Category string `json:"category"`
Rating int `json:"rating"`
Features []string `json:"features"`
Options Options `json:"options"`
}
Info represents the information block in details.
type Item ¶
type Item struct {
dirty.Enabled
ID int `json:"id"`
Name string `json:"name"`
IsActive bool `json:"is_active"`
Details Details `json:"details"`
Tags []string `json:"tags"`
}
Item is the top-level object in the JSON document. It embeds json.Enabled to allow dirty unmarshalling.
Click to show internal directories.
Click to hide internal directories.