package
0.0.0-20240304180230-0d23096881c1
Repository: https://github.com/jake-mulhern/gowithtests.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
AssertPlayerWin allows you to spy on the store's calls to RecordWin.
No description provided by the author
NewCLI creates a CLI for playing poker.
No description provided by the author
NewLeague creates a league from JSON.
NewPlayerServer creates a PlayerServer with routing configured.
NewTexasHoldem returns a new game.
# Constants
BadPlayerInputErrMsg is the text telling the user they did bad things.
BadWinnerInputMsg is the text telling the user they declared the winner wrong.
PlayerPrompt is the text asking the user for the number of players.
# Structs
CLI helps players through a game of poker.
No description provided by the author
Player stores a name with a number of wins.
PlayerServer is a HTTP interface for player information.
ScheduledAlert holds information about when an alert is scheduled.
SpyBlindAlerter allows you to spy on ScheduleAlertAt calls.
StubPlayerStore implements PlayerStore for testing purposes.
Tape represents an os.File that will re-write from the start on every Write call.
TexasHoldem manages a game of poker.
# Interfaces
No description provided by the author
No description provided by the author
PlayerStore stores score information about players.