Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimeKeyUsecase ¶
func NewTimeKeyUsecase( uuidp uuid.Provider, tp timep.Provider, o tkdomain.Repository, ) *timekeyUsecase
NewTimeKeyUsecase Constructor function for the `UserUsecase` implementation.
Types ¶
type Usecase ¶
type Usecase interface { Insert(ctx context.Context, tk *timekey.TimeKey) (ee *timekey.TimeKey, err error) ListAndCountByFilter(ctx context.Context, tkf *timekey.TimeKeyFilter) ([]*timekey.TimeKey, uint64, error) DeleteByFilter(ctx context.Context, tkf *timekey.TimeKeyFilter) error }
Usecase Provides interface for the timekey use cases.
Click to show internal directories.
Click to hide internal directories.