Documentation ¶
Index ¶
- type Author
- type CreateAuthorParams
- type DBTX
- type Queries
- func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error)
- func (q *Queries) DeleteAuthor(ctx context.Context, id int64) error
- func (q *Queries) GetAuthor(ctx context.Context, id int64) (Author, error)
- func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthorParams ¶
type CreateAuthorParams struct { Name string Bio sql.NullString }
Click to show internal directories.
Click to hide internal directories.