Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEntityUsecase ¶
func NewEntityUsecase( uuidp uuid.Provider, tp timep.Provider, e edomain.Repository, ) *entityUsecase
NewEntityUsecase Constructor function for the `UserUsecase` implementation.
Types ¶
type Usecase ¶
type Usecase interface { Insert(ctx context.Context, e *entity.Entity) (ee *entity.Entity, err error) ListAndCountByFilter(ctx context.Context, ef *entity.EntityFilter) ([]*entity.Entity, uint64, error) Delete(ctx context.Context, entityID uint64) (err error) }
EntityUsecase Provides interface for the entity use cases.
Click to show internal directories.
Click to hide internal directories.