Documentation ¶
Index ¶
Constants ¶
View Source
const ( LayoutAftermath = "aftermath" LayoutFlip = "flip" LayoutNormal = "normal" LayoutSplit = "split" LayoutTransform = "transform" FrameEffectExtendedArt = "extendedart" FrameEffectInverted = "inverted" FrameEffectShowcase = "showcase" BorderColorBorderless = "borderless" LanguageJapanese = "Japanese" SuffixLightMana = "†" SuffixSpecial = "★" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct { Name string `json:"name"` HasNonFoil bool `json:"hasNonFoil"` UUID string `json:"uuid"` Artist string `json:"artist"` BorderColor string `json:"borderColor"` FrameEffect string `json:"frameEffect"` FrameEffects []string `json:"frameEffects"` Layout string `json:"layout"` Names []string `json:"names"` Number string `json:"number"` Type string `json:"type"` IsAlternative bool `json:"isAlternative"` IsDateStamped bool `json:"isDateStamped"` IsPromo bool `json:"isPromo"` IsFullArt bool `json:"isFullArt"` IsStarter bool `json:"isStarter"` ScryfallId string `json:"scryfallId"` ScryfallIllustrationId string `json:"scryfallIllustrationId"` ScryfallOracleId string `json:"scryfallOracleId"` Variations []string `json:"variations"` FlavorText string `json:"flavorText"` ForeignData []struct { Language string `json:"language"` } `json:"foreignData"` }
func (*Card) HasFrameEffect ¶
type MTGDB ¶
func LoadAllPrintings ¶
Load a MTGJSON AllPrinting.json file and return a MTGDB map.
Click to show internal directories.
Click to hide internal directories.