Documentation ¶
Index ¶
- type Repository
- func (repository *Repository) FindAll(limit int64, offset int64) ([]*entity.Event, error)
- func (repository *Repository) FindAllByFields(data types.Hash) (result []*entity.Event, err error)
- func (repository *Repository) FindByID(eventID types.UUID) (result *entity.Event, err error)
- func (repository *Repository) Insert(event *entity.Event) (err error)
- func (repository *Repository) Refresh() 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(nested event.RepositoryInterface) (result *Repository, err error)
func (*Repository) FindAllByFields ¶
func (*Repository) Refresh ¶
func (repository *Repository) Refresh() error
Click to show internal directories.
Click to hide internal directories.