reports

package
v0.0.0-...-7f730dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStandingsReport

func GetStandingsReport(db *sql.DB, asOf, league, division, output string)

GetStandingsReport retrieves data as of the provided date, using the provided

database connection.

Types

type StandingsReport

type StandingsReport struct {
	Name       string
	Wins       int
	Losses     int
	WinningPct float32
}

StandingsReport represents the data necessary to create a standings report

for a single team

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL