competition

package
Version: v0.0.0-...-b16b3cf Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DAS_COMPETITION_TABLE              = "DAS.COMPETITION"
	DAS_COMPETITION_COL_STATUS_ID      = "STATUS_ID"
	DAS_COMPETITION_COL_WEBSITE        = "WEBSITE"
	DAS_COMPETITION_COL_ADDRESS        = "ADDRESS"
	DAS_COMPETITION_COL_DATETIME_START = "DATETIME_START"
	DAS_COMPETITION_COL_DATETIME_END   = "DATETIME_END"
	DAS_COMPETITION_COL_CONTACT_NAME   = "CONTACT_NAME"
	DAS_COMPETITION_COL_CONTACT_PHONE  = "CONTACT_PHONE"
	DAS_COMPETITION_COL_CONTACT_EMAIL  = "CONTACT_EMAIL"
	DAS_COMPETITION_COL_ATTENDANCE     = "ATTENDANCE"
)
View Source
const (
	DAS_COMPETITION_STATUS_TABLE = "DAS.COMPETITION_STATUS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresCompetitionRepository

type PostgresCompetitionRepository struct {
	Database   *sql.DB
	SqlBuilder squirrel.StatementBuilderType
}

func (PostgresCompetitionRepository) CreateCompetition

func (repo PostgresCompetitionRepository) CreateCompetition(competition *businesslogic.Competition) error

func (PostgresCompetitionRepository) DeleteCompetition

func (repo PostgresCompetitionRepository) DeleteCompetition(competition businesslogic.Competition) error

func (PostgresCompetitionRepository) SearchCompetition

func (PostgresCompetitionRepository) UpdateCompetition

func (repo PostgresCompetitionRepository) UpdateCompetition(competition businesslogic.Competition) error

type PostgresCompetitionStatusRepository

type PostgresCompetitionStatusRepository struct {
	Database   *sql.DB
	SqlBuilder squirrel.StatementBuilderType
}

func (PostgresCompetitionStatusRepository) GetCompetitionAllStatus

func (repo PostgresCompetitionStatusRepository) GetCompetitionAllStatus() ([]businesslogic.CompetitionStatus, error)

Jump to

Keyboard shortcuts

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