Versions in this module Expand all Collapse all v0 v0.0.1 Nov 2, 2023 Changes in this version + type Repo struct + func New(db *sqlx.DB, log log.Factory, cfg *viper.Viper) *Repo + func (r *Repo) Create(parentCtx context.Context, item repos.Item) (string, error) + func (r *Repo) DB() *sqlx.DB + func (r *Repo) Delete(parentCtx context.Context, id string) error + func (r *Repo) Get(parentCtx context.Context, id string, _ ...repos.ItemOption) (repos.Item, error) + func (r *Repo) List(ctx context.Context, _ ...repos.ItemOption) (repos.ItemsIterator, error) + func (r *Repo) Logger() log.Factory + func (r *Repo) Update(parentCtx context.Context, item repos.Item) error