Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRepository ¶
type DefaultUsecase ¶
func New ¶
func New[T any, K Keys](repo DefaultRepository[T, K], logger log.Logger) *DefaultUsecase[T, K]
func (*DefaultUsecase[T, K]) Create ¶
func (uc *DefaultUsecase[T, K]) Create(ctx context.Context, t *T) (*T, error)
Click to show internal directories.
Click to hide internal directories.