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 Filter struct + Active *types.ActiveStatus + Codename []string + CodenameLike string + ID []uint64 + Type []string + func (fl *Filter) PrepareQuery(query *gorm.DB) *gorm.DB + type ListOrder struct + Active models.Order + Codename models.Order + CreatedAt models.Order + Title models.Order + Type models.Order + UpdatedAt models.Order + func (ol *ListOrder) PrepareQuery(query *gorm.DB) *gorm.DB + type Option = repository.QOption + type Options = repository.ListOptions + type Repository interface + Count func(ctx context.Context, qops ...Option) (int64, error) + Create func(ctx context.Context, source *models.Format) (uint64, error) + Delete func(ctx context.Context, id uint64) error + DeleteByCodename func(ctx context.Context, codename string) error + FetchList func(ctx context.Context, qops ...Option) ([]*models.Format, error) + Get func(ctx context.Context, id uint64) (*models.Format, error) + GetByCodename func(ctx context.Context, codename string) (*models.Format, error) + Update func(ctx context.Context, id uint64, source *models.Format) error + type Usecase interface + Count func(ctx context.Context, qops ...repository.QOption) (int64, error) + Create func(ctx context.Context, source *models.Format) (uint64, error) + Delete func(ctx context.Context, id uint64, msg *string) error + DeleteByCodename func(ctx context.Context, codename string, msg *string) error + FetchList func(ctx context.Context, qops ...repository.QOption) ([]*models.Format, error) + Get func(ctx context.Context, id uint64) (*models.Format, error) + GetByCodename func(ctx context.Context, codename string) (*models.Format, error) + Update func(ctx context.Context, id uint64, source *models.Format) error