Documentation ¶
Index ¶
Constants ¶
View Source
const ( FrontFaces = "FrontFaces" BackFaces = "BackFaces" Tokens = "Tokens" )
Variables ¶
This section is empty.
Functions ¶
func CardByName ¶
Types ¶
type PrinterOption ¶
type PrinterOption func(*ProxyPrinter) error
func NumberOfTokens ¶
func NumberOfTokens(n int) PrinterOption
func PrintOnlyTokens ¶
func PrintOnlyTokens() PrinterOption
func PrintTokens ¶
func PrintTokens() PrinterOption
type ProxyPrinter ¶
type ProxyPrinter struct {
// contains filtered or unexported fields
}
func NewProxyPrinter ¶
func NewProxyPrinter(client *scryfall.Client, deck Deck, opts ...PrinterOption) *ProxyPrinter
func (*ProxyPrinter) WriteImageProxies ¶
func (p *ProxyPrinter) WriteImageProxies(w io.Writer) error
func (*ProxyPrinter) WriteImageProxiesToFile ¶
func (p *ProxyPrinter) WriteImageProxiesToFile(fileStr string) error
func (*ProxyPrinter) WriteTextProxies ¶
func (p *ProxyPrinter) WriteTextProxies(w io.Writer) error
func (*ProxyPrinter) WriteTextProxiesToFile ¶
func (p *ProxyPrinter) WriteTextProxiesToFile(fileStr string) error
Click to show internal directories.
Click to hide internal directories.