Documentation ¶
Index ¶
- type Repo
- func (r *Repo) AddEvent(ctx context.Context, event *domain.Event) error
- func (r *Repo) GetEvent(ctx context.Context, eventID int) (*domain.Event, error)
- func (r *Repo) GetUserEvents(ctx context.Context, userID int, fromDt, toDt time.Time) ([]*domain.Event, error)
- func (r *Repo) UpdateEvent(ctx context.Context, event *domain.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.