Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct { ID int `db:"id" json:"id"` Name string `db:"name" json:"name"` Number string `db:"number" json:"number"` Position string `db:"position" json:"position"` Height string `db:"height" json:"height"` Weight string `db:"weight" json:"weight"` Age string `db:"age" json:"age"` Experience int `db:"experience" json:"experience"` College string `db:"college" json:"college"` }
Player is a player on the roster
func ListPlayers ¶
ListPlayers lists all the players, optionally restricted to a position
Click to show internal directories.
Click to hide internal directories.