package
0.0.0-20191228200644-c47043910a4b
Repository: https://github.com/preslavmihaylov/learn-golang.git
Documentation: pkg.go.dev

# Functions

DefaultComparator is the default comparator used for sorting a deck of cards.
Filter is a functional option for filtering given cards from the deck.
New deck of cards, based on the options provided.
Shuffle is a functional option for shuffling the deck in a random way.
ShuffleWithSeed is a functional option for shuffling the deck based on a random seed.
Sort is a functional option for sorting the deck based on a user-defined comparator.
WithDecks is a functional option for specifying the amount of decks to include.
WithJokers is a functional option for specifying how many jokers to include.

# Constants

The ranks from a normal deck of cards.
Suits from a normal deck of cards.
DeckSize of a normal deck of cards.
Suits from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
Suits from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
Suits from a normal deck of cards.
Suits from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.
The ranks from a normal deck of cards.

# Structs

Card represents a playing card from a deck of cards.
Deck encapsulates a normal deck of cards and defines some operations on them.

# Type aliases

Comparator is used to sort a deck of cards based on a user-defined comparator.
Option is a function alias used for constructing a functional-options constructor for a deck.
Rank from a normal deck of cards.
Suit from a normal deck of cards.