package
0.0.0-20240503032640-6646d4c6c471
Repository: https://github.com/skylli202/learn-go-with-tests.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
AssertPlayerWin allows you to spy on the store's calls to RecordWin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewFileSystemPlayerStore creates a FileSystemPlayerStore initialising the store if needed.
NewLeague creates a league from JSON.
NewPlayerServer creates a PlayerServer with routing configured.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
FileSystemPlayerStore stores players in the filesystem.
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.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
PlayerStore stores score information about players.

# Type aliases

No description provided by the author
League stores a collection of players.