Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct {
Name string `json:"Name"`
Set string `json:"Set"`
Foil bool `json:"Foil,omitempty"`
Conditions []Conditions `json:"Conditions"`
}
Card contains info about card: it's name, set, foiling and conditions
type Conditions ¶
type Conditions struct {
Condition string `json:"Condition"`
Count int `json:"Count"`
Price int `json:"Price"`
Discount int `json:"Discount,omitempty"`
}
Conditions contains info about card's condition: condition code,
availible units and price
func (Conditions) String ¶
func (c Conditions) String() string
Click to show internal directories.
Click to hide internal directories.