dataobjects

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardDetail

type CardDetail struct {
	Name            string `json:"Name"`
	Set             string `json:"Edition"`
	CollectorNumber string `json:"Card Number"`
}

CardDetail holds the minimum information to uniquely identify a card

type SetDetail

type SetDetail struct {
	Set                     string `json:"Set"`     // e.g. Time Spiral Remastered
	SetCode                 string `json:"SetCode"` // e.g. TSR
	CollectorNumberMismatch bool   `json:"cnMismatch"`
}

SetDetail holds the full spelling and abbreviation of the set (according to scryfall)

type TransSet

type TransSet struct {
	Scryfall                string `json:"sfSetName"`
	Deckbox                 string `json:"dbSetName"`
	CollectorNumberMismatch bool   `json:"cnMismatch"`
}

TransSet holds two strings for each value of a given set in the manual lookup fix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL