Versions in this module Expand all Collapse all v1 v1.1.0 Mar 13, 2019 v1.0.0 Mar 11, 2019 Changes in this version + type Card struct + Number int + Suit Suit + func (c *Card) GetStrNumber() string + func (c *Card) String() string + type Deck struct + Cards []Card + func NewDeck() *Deck + func NewDeckWithSuitSet(suit Suit) *Deck + func (d *Deck) Add(card *Card) + func (d *Deck) AddAt(card *Card, index int) error + func (d *Deck) BottomIndex() int + func (d *Deck) Cut() + func (d *Deck) CutAt(index int) error + func (d *Deck) Draw() *Card + func (d *Deck) DrawAt(index int) (*Card, error) + func (d *Deck) Exists(card *Card) bool + func (d *Deck) RemoveJoker() + func (d *Deck) Shuffle() + func (d *Deck) TopIndex() int + type Suit int + const Club + const Diamond + const Heart + const Joker + const Spade + func (s *Suit) Mark() string + func (s *Suit) String() string