Categorygithub.com/jimysheepman/go-mastergo-tutorialsgo-802-Build-an-application02-JSON-routing-embedding
package
0.0.0-20240716191418-e4412870799f
Repository: https://github.com/jimysheepman/go-master.git
Documentation: pkg.go.dev
# Functions
NewInMemoryPlayerStore initialises an empty player store.
NewPlayerServer creates a PlayerServer with routing configured.
# Structs
InMemoryPlayerStore collects data about players in memory.
Player stores a name with a number of wins.
PlayerServer is a HTTP interface for player information.
# Interfaces
PlayerStore stores score information about players.