Documentation ¶
Index ¶
- type Repository
- func (r *Repository) Count(ctx context.Context, qops ...category.Option) (count int64, err error)
- func (r *Repository) Create(ctx context.Context, object *models.Category) (uint64, error)
- func (r *Repository) Delete(ctx context.Context, id uint64) error
- func (r *Repository) FetchList(ctx context.Context, qops ...category.Option) (list []*models.Category, err error)
- func (r *Repository) Get(ctx context.Context, id uint64) (*models.Category, error)
- func (r *Repository) Update(ctx context.Context, id uint64, object *models.Category) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
repository.Repository
}
Click to show internal directories.
Click to hide internal directories.