Documentation ¶
Index ¶
- type ProgrammeSeason
- type Repo
- type Store
- func (m *Store) AddProgrammeSeason(p *ProgrammeSeason) error
- func (m *Store) DeleteProgrammeSeason(id uint64) error
- func (m *Store) EditProgrammeSeason(p *ProgrammeSeason) error
- func (m *Store) GetProgrammeSeasonById(id uint64) (p ProgrammeSeason, err error)
- func (m *Store) ListAllProgrammeSeasons() (p []ProgrammeSeason, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgrammeSeason ¶
type Repo ¶
type Repo interface { GetProgrammeSeasonById(id uint64) (ProgrammeSeason, error) ListAllProgrammesSeasons() ([]ProgrammeSeason, error) AddProgrammeSeason(p *ProgrammeSeason) (ProgrammeSeason, error) EditProgrammeSeason(p *ProgrammeSeason) (ProgrammeSeason, error) DeleteProgrammeSeason(id uint64) error }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddProgrammeSeason ¶
func (m *Store) AddProgrammeSeason(p *ProgrammeSeason) error
func (*Store) DeleteProgrammeSeason ¶
func (*Store) EditProgrammeSeason ¶
func (m *Store) EditProgrammeSeason(p *ProgrammeSeason) error
func (*Store) GetProgrammeSeasonById ¶
func (m *Store) GetProgrammeSeasonById(id uint64) (p ProgrammeSeason, err error)
func (*Store) ListAllProgrammeSeasons ¶
func (m *Store) ListAllProgrammeSeasons() (p []ProgrammeSeason, err error)
Click to show internal directories.
Click to hide internal directories.