From 5763fddf4e4ec75e6e43fb732ef720aa294a4959 Mon Sep 17 00:00:00 2001 From: filifa Date: Sun, 6 Apr 2025 01:12:36 -0400 Subject: [PATCH] add comments --- cmd/leagueabbr.go | 1 + cmd/sportabbr.go | 1 + cmd/teamabbr.go | 1 + 3 files changed, 3 insertions(+) diff --git a/cmd/leagueabbr.go b/cmd/leagueabbr.go index fe0549c..974a0b6 100644 --- a/cmd/leagueabbr.go +++ b/cmd/leagueabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/leagues var leagueIDs = map[string]int32{ "al": 103, "nl": 104, diff --git a/cmd/sportabbr.go b/cmd/sportabbr.go index 80e2ffb..8275abb 100644 --- a/cmd/sportabbr.go +++ b/cmd/sportabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/sports var sportIDs = map[string]int32{ "mlb": 1, "aaa": 11, diff --git a/cmd/teamabbr.go b/cmd/teamabbr.go index df9a142..f604eb2 100644 --- a/cmd/teamabbr.go +++ b/cmd/teamabbr.go @@ -19,6 +19,7 @@ import ( "strings" ) +// retrieved from https://statsapi.mlb.com/api/v1/teams var teamIDs = map[string]int32{ "laa": 108, "az": 109,