diff options
-rw-r--r-- | capset.go | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -171,19 +171,9 @@ func (d *Deck) FindCards(strArr []string) ([]Card, error) { return cards, nil } -// TODO: test to make sure leading and trailing spaces cause error func (d *Deck) FindCard(cardStr string) (card Card, ok bool) { card, ok = d.str2card[cardStr] return card, ok - /*var c Card - _, err := fmt.Sscan(cardStr, &c) - if err != nil { - return Card{}, false - } - if d.dim != int(c.dim) { - return Card{}, false - } - return c, true*/ } type Capset struct { |