Documentation ¶
Index ¶
Constants ¶
View Source
const ( DrawPoints = 1 WinPoints = 3 LosePoints = 0 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ranking ¶
func CalculateRankings ¶
func CalculateRankings(gameResults []GameResult) []Ranking
Determine the ultimate ranking of all the teams in a league given game results.
Click to show internal directories.
Click to hide internal directories.