Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GradesRepository ¶
type GradesRepository interface { GetPitchings(playerID string) (pitchings []data.PICHERGRADES) GetBattings(playerID string) (battings []data.BATTERGRADES) GetCareer(playerID string) (career data.CAREER) InsertCareers(careers []data.CAREER) InsertPicherGrades(key string, picher data.PICHERGRADES) InsertBatterGrades(playerID string, batterGrades data.BATTERGRADES) SearchCareerByName(name string) (careers []data.CAREER) }
GradesRepository チーム成績データアクセスを管理するインターフェース
type SyastemRepository ¶
type SyastemRepository interface { GetSystemSetting(setting string) (value string) SetSystemSetting(setting string, value string) }
SyastemRepository システム設定を登録するインターフェース
type TeamRepository ¶
type TeamRepository interface { InsertTeamPitchings(teamPitching teamData.TeamPitching) GetTeamPitchings(years []int) (teamPitchingMap map[string][]teamData.TeamPitching) GetTeamPitchingByTeamIDAndYear(year string, teamID string) (teamPitching teamData.TeamPitching) GetTeamPitchingMax() (maxStrikeOutRate float64, maxRunsAllowed int) GetTeamPitchingMin() (minStrikeOutRate float64, minRunsAllowed int) InsertTeamBattings(teamBatting teamData.TeamBatting) GetTeamBattings(years []int) (teamBattingMap map[string][]teamData.TeamBatting) GetTeamBattingByTeamIDAndYear(teamID string, year string) (teamBatting teamData.TeamBatting) GetTeamBattingMax() (maxHomeRun int, maxSluggingPercentage float64, maxOnBasePercentage float64) GetTeamBattingMin() (minHomeRun int, minSluggingPercentage float64, minOnBasePercentage float64) GetTeamStats(years []int) (teamStatsMap map[string][]teamData.TeamLeagueStats) InsertPythagoreanExpectation(teamBattings []teamData.TeamBatting, teamPitchings []teamData.TeamPitching) InsertTeamLeagueStats(teamLeagueStats []teamData.TeamLeagueStats) InsertMatchResults(teamMatchResults []teamData.TeamMatchResults) GetTeamName(teamID string) (teamName string) GetPlayersByTeamIDAndYear(teamID string, year string) (players []data.PLAYER) InsertTeamPlayers(members []team.Member) InsertMembersCsv(fileName string) IsRegisteredMembersCsv(fileName string) bool }
TeamRepository チーム成績データアクセスを管理するインターフェース
Click to show internal directories.
Click to hide internal directories.