Documentation
¶
Index ¶
- type Book
- type CreateBookParams
- type DBTX
- type Queries
- func (q *Queries) CreateBook(ctx context.Context, arg CreateBookParams) (Book, error)
- func (q *Queries) DeleteBook(ctx context.Context, id int64) error
- func (q *Queries) GetBook(ctx context.Context, id int64) (Book, error)
- func (q *Queries) GetBooks(ctx context.Context) ([]Book, error)
- func (q *Queries) UpdateBook(ctx context.Context, arg UpdateBookParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateBookParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBookParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateBook ¶
func (*Queries) UpdateBook ¶
func (q *Queries) UpdateBook(ctx context.Context, arg UpdateBookParams) error
Click to show internal directories.
Click to hide internal directories.