eventdal

package
v0.0.0-...-99b79bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 10 Imported by: 2

Documentation

Index

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

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 (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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL