Add Card Scryfall type with only required fields

This commit is contained in:
The Magician 2024-05-21 14:41:35 +01:00
parent d1fa838bfe
commit 4c8beb0eb5
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package types
type CardPrinting struct {
Id string `json:"id"` // GUID
Name string `json:"name"`
Set string `json:"set"`
Foil bool `json:"foil"`
NonFoil bool `json:"nonfoil"`
Reserved bool `json:"reserved"`
ContentWarning bool `json:"content_warning,omitempty"`
Promo bool `json:"promo"`
CollectorNumber string `json:"collector_number"`
Language string `json:"lang"`
}