summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capset.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/capset.go b/capset.go
index 89cf92d..3fcc814 100644
--- a/capset.go
+++ b/capset.go
@@ -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 {