Documentation ¶
Index ¶
- func GetAllAveragesForGolfer(golferId string) (map[string]float64, error)
- func GetAllRoundsForGolfer(golferId string) (map[string]int, error)
- func GetCourseById(id string) (model.GolfCourse, error)
- func GetCourses() ([]model.GolfCourse, error)
- func GetGolferAverage(golferId string, courseId string) (float64, error)
- func GetGolferById(golferId string) (model.Golfer, error)
- func GetGolferNumRounds(golferId string, courseId string) (int, error)
- func GetGolferWins(golferId string) (map[string]int, error)
- func GetGolfers() ([]model.Golfer, error)
- func GetScoreInfoFromColId(columnName string) (string, string)
- func GetScoresForGolfer(golferId string) (map[string]map[string]int, error)
- func GetStatInfoFromColId(columnName string) (string, string)
- func IncGolferTotalRounds(golferId string) error
- func InitHBase(hbaseConfig util.HBaseConfig)
- func InitSQL(dbConfig util.SQLConfig)
- func PutRound(round model.Round) error
- func ResetUser(golferId string) error
- func SetGolferAverage(golferId string, courseId string, average float64) error
- func SetGolferNumRounds(golferId string, courseId string, rounds int) error
- func SetGolferWins(golferId string, wins map[string]int) error
- func Test(test_val string) error
- func TryClose()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllAveragesForGolfer ¶
func GetCourses ¶
func GetCourses() ([]model.GolfCourse, error)
func GetGolfers ¶
func GetScoreInfoFromColId ¶
colScoreQual -> courseId.date.timestamp
func GetScoresForGolfer ¶
func GetStatInfoFromColId ¶
stat col qual -> type.courseId type -> rds or avg
func IncGolferTotalRounds ¶
func InitHBase ¶
func InitHBase(hbaseConfig util.HBaseConfig)
func SetGolferAverage ¶
func SetGolferNumRounds ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.