Documentation ¶
Index ¶
- type GradesInteractor
- func (Interactor *GradesInteractor) GetBatting(playerID string) (battings []data.BATTERGRADES)
- func (Interactor *GradesInteractor) GetCareer(playerID string) (career data.CAREER)
- func (Interactor *GradesInteractor) GetPitching(playerID string) (pitchings []data.PICHERGRADES)
- func (Interactor *GradesInteractor) InsertBatterGrades(current string)
- func (Interactor *GradesInteractor) InsertCareers(csvPath string)
- func (Interactor *GradesInteractor) InsertPicherGrades(csvPath string)
- func (Interactor *GradesInteractor) SearchCareerByName(name string) (career []data.CAREER)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GradesInteractor ¶
type GradesInteractor struct { repository.GradesRepository repository.TeamRepository reader.GradesReader util.TeamUtil }
GradesInteractor 成績情報処理のInteractor
func (*GradesInteractor) GetBatting ¶
func (Interactor *GradesInteractor) GetBatting(playerID string) (battings []data.BATTERGRADES)
GetBatting 個人打撃成績一覧を取得する
func (*GradesInteractor) GetCareer ¶
func (Interactor *GradesInteractor) GetCareer(playerID string) (career data.CAREER)
GetCareer 選手情報を取得する
func (*GradesInteractor) GetPitching ¶
func (Interactor *GradesInteractor) GetPitching(playerID string) (pitchings []data.PICHERGRADES)
GetPitching 個人投手成績一覧を取得する
func (*GradesInteractor) InsertBatterGrades ¶
func (Interactor *GradesInteractor) InsertBatterGrades(current string)
InsertBatterGrades 選手打撃成績をDBに登録します
func (*GradesInteractor) InsertCareers ¶
func (Interactor *GradesInteractor) InsertCareers(csvPath string)
InsertCareers 引数で受け取った CAREER をDBへ登録する
func (*GradesInteractor) InsertPicherGrades ¶
func (Interactor *GradesInteractor) InsertPicherGrades(csvPath string)
InsertPicherGrades 選手投手成績をDBに登録します
func (*GradesInteractor) SearchCareerByName ¶
func (Interactor *GradesInteractor) SearchCareerByName(name string) (career []data.CAREER)
SearchCareerByName 選手名から選手データを検索する
Click to show internal directories.
Click to hide internal directories.