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 Repository struct + func New() *Repository + func (r *Repository) Count(ctx context.Context, qops ...devicemaker.Option) (count int64, err error) + func (r *Repository) Create(ctx context.Context, object *models.DeviceMaker) (uint64, error) + func (r *Repository) Delete(ctx context.Context, id uint64) error + func (r *Repository) FetchList(ctx context.Context, qops ...devicemaker.Option) (list []*models.DeviceMaker, err error) + func (r *Repository) Get(ctx context.Context, id uint64, preloads ...string) (*models.DeviceMaker, error) + func (r *Repository) GetByCodename(ctx context.Context, codename string, preloads ...string) (*models.DeviceMaker, error) + func (r *Repository) Update(ctx context.Context, id uint64, object *models.DeviceMaker) error