package
0.0.0-20190823073817-48c9e09f6365
Repository: https://github.com/kylesliu/golang-learn.git
Documentation: pkg.go.dev

# Functions

NewFileSystemPlayerStore creates a FileSystemPlayerStore initialising the store if needed.
NewLeague creates a league from JSON.
NewPlayerServer creates a PlayerServer with routing configured.

# Structs

FileSystemPlayerStore stores players in the filesystem.
Player stores a name with a number of wins.
PlayerServer is a HTTP interface for player information.

# Interfaces

PlayerStore stores score information about players.

# Type aliases

League stores a collection of players.