Documentation ¶
Index ¶
- type Usecase
- func (u *Usecase) Count(ctx context.Context, qops ...devicemaker.Option) (int64, error)
- func (u *Usecase) Create(ctx context.Context, object *models.DeviceMaker) (uint64, error)
- func (u *Usecase) Delete(ctx context.Context, id uint64, msg *string) error
- func (u *Usecase) FetchList(ctx context.Context, qops ...devicemaker.Option) ([]*models.DeviceMaker, error)
- func (u *Usecase) Get(ctx context.Context, id uint64) (*models.DeviceMaker, error)
- func (u *Usecase) Update(ctx context.Context, id uint64, object *models.DeviceMaker) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Usecase ¶
type Usecase struct {
// contains filtered or unexported fields
}
func (*Usecase) FetchList ¶
func (u *Usecase) FetchList(ctx context.Context, qops ...devicemaker.Option) ([]*models.DeviceMaker, error)
Click to show internal directories.
Click to hide internal directories.