Documentation ¶
Index ¶
- func Create(p db.NamedPreparer, in *db.Product) (*db.Product, error)
- func Ensure(ctx context.Context, tx *sqlx.Tx, ensureProduct *db.Product) (*db.Product, error)
- func GetBestMatch(ctx context.Context, tx *sqlx.Tx, source string, timestamp time.Time) (*db.Product, error)
- func GetBySource(ctx context.Context, tx *sqlx.Tx, source string) (*db.Product, error)
- func Update(p db.NamedPreparer, in *db.Product) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBestMatch ¶
func GetBySource ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.