Documentation ¶
Index ¶
- type Repository
- func (repository *Repository) FindAll(limit int64, offset int64) ([]*entity.Event, error)
- func (repository *Repository) FindAllByFields(fields types.Hash) ([]*entity.Event, error)
- func (repository *Repository) FindByID(eventID types.UUID) (*entity.Event, error)
- func (repository *Repository) Insert(event *entity.Event) (err error)
- func (repository *Repository) Update(event *entity.Event) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(client *driver.Client, uuid share.UUIDProviderInterface) (*Repository, error)
func (*Repository) FindAllByFields ¶
Click to show internal directories.
Click to hide internal directories.