Documentation ¶
Index ¶
- Constants
- type PostgresCompetitionEventTemplateRepository
- type PostgresEventDanceRepository
- func (repo PostgresEventDanceRepository) CreateEventDance(eventDance *businesslogic.EventDance) error
- func (repo PostgresEventDanceRepository) DeleteEventDance(eventDance businesslogic.EventDance) error
- func (repo PostgresEventDanceRepository) SearchEventDance(criteria businesslogic.SearchEventDanceCriteria) ([]businesslogic.EventDance, error)
- func (repo PostgresEventDanceRepository) UpdateEventDance(eventDance businesslogic.EventDance) error
- type PostgresEventMetaRepository
- func (repo PostgresEventMetaRepository) GetEventUniqueAges(competition businesslogic.Competition) ([]businesslogic.Age, error)
- func (repo PostgresEventMetaRepository) GetEventUniqueDivisions(competition businesslogic.Competition) ([]businesslogic.Division, error)
- func (repo PostgresEventMetaRepository) GetEventUniqueFederations(competition businesslogic.Competition) ([]businesslogic.Federation, error)
- func (repo PostgresEventMetaRepository) GetEventUniqueProficiencies(competition businesslogic.Competition) ([]businesslogic.Proficiency, error)
- func (repo PostgresEventMetaRepository) GetEventUniqueStyles(competition businesslogic.Competition) ([]businesslogic.Style, error)
- type PostgresEventRepository
- func (repo PostgresEventRepository) CreateEvent(event *businesslogic.Event) error
- func (repo PostgresEventRepository) DeleteEvent(event businesslogic.Event) error
- func (repo PostgresEventRepository) SearchEvent(criteria businesslogic.SearchEventCriteria) ([]businesslogic.Event, error)
- func (repo PostgresEventRepository) UpdateEvent(event businesslogic.Event) error
- type PostgresEventStatusRepository
Constants ¶
View Source
const (
DAS_EVENT_DANCES_TABLE = "DAS.EVENT_DANCES"
)
View Source
const DAS_EVENT_STATUS_TABLE = "DAS.EVENT_STATUS"
View Source
const (
DAS_EVENT_TABLE = "DAS.EVENT"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresCompetitionEventTemplateRepository ¶
type PostgresCompetitionEventTemplateRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
func (PostgresCompetitionEventTemplateRepository) SearchCompetitionEventTemplates ¶
func (repo PostgresCompetitionEventTemplateRepository) SearchCompetitionEventTemplates(criteria businesslogic.SearchCompetitionEventTemplateCriteria) ([]businesslogic.CompetitionEventTemplate, error)
type PostgresEventDanceRepository ¶
type PostgresEventDanceRepository struct { Database *sql.DB SqlBuilder squirrel.StatementBuilderType }
PostgresEventDanceRepository implements IEventDanceRepository
func (PostgresEventDanceRepository) CreateEventDance ¶
func (repo PostgresEventDanceRepository) CreateEventDance(eventDance *businesslogic.EventDance) error
func (PostgresEventDanceRepository) DeleteEventDance ¶
func (repo PostgresEventDanceRepository) DeleteEventDance(eventDance businesslogic.EventDance) error
func (PostgresEventDanceRepository) SearchEventDance ¶
func (repo PostgresEventDanceRepository) SearchEventDance(criteria businesslogic.SearchEventDanceCriteria) ([]businesslogic.EventDance, error)
func (PostgresEventDanceRepository) UpdateEventDance ¶
func (repo PostgresEventDanceRepository) UpdateEventDance(eventDance businesslogic.EventDance) error
type PostgresEventMetaRepository ¶
type PostgresEventMetaRepository struct { Database *sql.DB SqlBuilder squirrel.StatementBuilderType }
func (PostgresEventMetaRepository) GetEventUniqueAges ¶
func (repo PostgresEventMetaRepository) GetEventUniqueAges(competition businesslogic.Competition) ([]businesslogic.Age, error)
func (PostgresEventMetaRepository) GetEventUniqueDivisions ¶
func (repo PostgresEventMetaRepository) GetEventUniqueDivisions(competition businesslogic.Competition) ([]businesslogic.Division, error)
func (PostgresEventMetaRepository) GetEventUniqueFederations ¶
func (repo PostgresEventMetaRepository) GetEventUniqueFederations(competition businesslogic.Competition) ([]businesslogic.Federation, error)
func (PostgresEventMetaRepository) GetEventUniqueProficiencies ¶
func (repo PostgresEventMetaRepository) GetEventUniqueProficiencies(competition businesslogic.Competition) ([]businesslogic.Proficiency, error)
func (PostgresEventMetaRepository) GetEventUniqueStyles ¶
func (repo PostgresEventMetaRepository) GetEventUniqueStyles(competition businesslogic.Competition) ([]businesslogic.Style, error)
type PostgresEventRepository ¶
type PostgresEventRepository struct { Database *sql.DB SQLBuilder squirrel.StatementBuilderType }
PostgresEventRepository implements IEventRepository with a Postgres database
func (PostgresEventRepository) CreateEvent ¶
func (repo PostgresEventRepository) CreateEvent(event *businesslogic.Event) error
CreateEvent creates an Event in a Postgres database
func (PostgresEventRepository) DeleteEvent ¶
func (repo PostgresEventRepository) DeleteEvent(event businesslogic.Event) error
DeleteEvent deletes an Event from a Postgres database
func (PostgresEventRepository) SearchEvent ¶
func (repo PostgresEventRepository) SearchEvent(criteria businesslogic.SearchEventCriteria) ([]businesslogic.Event, error)
SearchEvent searches Event in a Postgres database
func (PostgresEventRepository) UpdateEvent ¶
func (repo PostgresEventRepository) UpdateEvent(event businesslogic.Event) error
UpdateEvent updates an Event in a Postgres database
type PostgresEventStatusRepository ¶
type PostgresEventStatusRepository struct { Database *sql.DB SqlBuilder squirrel.StatementBuilderType }
func (PostgresEventStatusRepository) GetEventStatus ¶
func (repo PostgresEventStatusRepository) GetEventStatus() ([]businesslogic.EventStatus, error)
Click to show internal directories.
Click to hide internal directories.