Documentation ¶
Index ¶
- type CreateParams
- type DBTX
- type News
- type Queries
- func (q *Queries) Create(ctx context.Context, arg CreateParams) (News, error)
- func (q *Queries) Delete(ctx context.Context, id int64) error
- func (q *Queries) Get(ctx context.Context, id int64) (News, error)
- func (q *Queries) GetMany(ctx context.Context) ([]News, error)
- func (q *Queries) Update(ctx context.Context, arg UpdateParams) (News, 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.