Versions in this module Expand all Collapse all v0 v0.1.0 Feb 22, 2020 Changes in this version + const BackFaces + const FrontFaces + const Tokens + func CardByName(name string) func(Card) bool + func LayoutDirectory(deckName string, numberOfCopiesPerCard int, inDir string, outFile string) error + type Card struct + ImageData []byte + Loyalty string + ManaCost string + Name string + OracleText string + Power string + Toughness string + TypeLine string + Version *Version + type Cards []Card + func (cs Cards) Contains(accept func(Card) bool) bool + type Deck struct + Name string + Sections []Section + func ParseDeck(in io.Reader) (Deck, error) + func (d Deck) Cards() []Card + type PrinterOption func(*ProxyPrinter) error + func NumberOfTokens(n int) PrinterOption + func PrintOnlyTokens() PrinterOption + func PrintTokens() PrinterOption + type ProxyPrinter struct + func NewProxyPrinter(client *scryfall.Client, deck Deck, opts ...PrinterOption) *ProxyPrinter + func (p *ProxyPrinter) WriteImageProxies(w io.Writer) error + func (p *ProxyPrinter) WriteImageProxiesToFile(fileStr string) error + func (p *ProxyPrinter) WriteTextProxies(w io.Writer) error + func (p *ProxyPrinter) WriteTextProxiesToFile(fileStr string) error + type Section struct + Cards Cards + Name string + type Version struct + CollectorNumber string + Set string