Versions in this module Expand all Collapse all v0 v0.5.5 Jul 8, 2023 Changes in this version + type Config struct + DateCreated time.Time + DateUpdated time.Time + Key string + Value string + type Store struct + func NewStore(log *zap.SugaredLogger, db *sqlx.DB) Store + func (s Store) Create(ctx context.Context, config Config) error + func (s Store) Delete(ctx context.Context, configKey string) error + func (s Store) QueryByKey(ctx context.Context, configKey string) (Config, error) + func (s Store) Tran(tx sqlx.ExtContext) Store + func (s Store) Update(ctx context.Context, config Config) error + func (s Store) WithinTran(ctx context.Context, fn func(sqlx.ExtContext) error) error