Documentation ¶
Index ¶
- type CreateParams
- type DBTX
- type Product
- type Queries
- func (q *Queries) Create(ctx context.Context, arg CreateParams) (Product, error)
- func (q *Queries) Delete(ctx context.Context, id int64) error
- func (q *Queries) GetAll(ctx context.Context) ([]Product, error)
- func (q *Queries) GetByID(ctx context.Context, id int64) (Product, error)
- func (q *Queries) Update(ctx context.Context, arg UpdateParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateParams ¶
Click to show internal directories.
Click to hide internal directories.