Documentation ¶
Index ¶
- func NewEventRepository(cfg config.Configuration, db *gorm.DB) domain.EventRepository
- type EventRepo
- func (repo *EventRepo) Event(ctx context.Context, id int64) (domain.Event, error)
- func (repo *EventRepo) Events(ctx context.Context, opts domain.FindEventOptions) ([]domain.Event, error)
- func (repo *EventRepo) UpdatePublishStatus(ctx context.Context, request domain.UpdateEventStatusRequest) error
- func (repo *EventRepo) WithTX(tx *gorm.DB) domain.EventRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventRepository ¶
func NewEventRepository(cfg config.Configuration, db *gorm.DB) domain.EventRepository
Types ¶
Click to show internal directories.
Click to hide internal directories.