Versions in this module Expand all Collapse all v0 v0.1.2 May 2, 2025 v0.1.1 Apr 22, 2025 Changes in this version + type Usecase struct + func New() *Usecase + func (u *Usecase) Count(ctx context.Context, qops ...adformat.Option) (int64, error) + func (u *Usecase) Create(ctx context.Context, source *models.Format) (uint64, error) + func (u *Usecase) Delete(ctx context.Context, id uint64, msg *string) error + func (u *Usecase) DeleteByCodename(ctx context.Context, codename string, msg *string) error + func (u *Usecase) FetchList(ctx context.Context, qops ...adformat.Option) ([]*models.Format, error) + func (u *Usecase) Get(ctx context.Context, id uint64) (*models.Format, error) + func (u *Usecase) GetByCodename(ctx context.Context, codename string) (*models.Format, error) + func (u *Usecase) Update(ctx context.Context, id uint64, source *models.Format) error