usecase

package
v0.0.0-...-53f0542 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2022 License: ISC Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL