Documentation ¶
Index ¶
- type Author
- type CreateAuthorParams
- type CreateAuthorsParams
- type DBTX
- type Queries
- func (q *Queries) Close() error
- func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) error
- func (q *Queries) CreateAuthors(ctx context.Context, arg CreateAuthorsParams) error
- func (q *Queries) UpdateAuthor(ctx context.Context, arg UpdateAuthorParams) error
- func (q *Queries) UpdateAuthors(ctx context.Context, arg UpdateAuthorsParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateAuthorParams
- type UpdateAuthorsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthorParams ¶
type CreateAuthorParams struct { ID int64 Name string Bio sql.NullString }
type CreateAuthorsParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAuthor ¶
func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) error
func (*Queries) CreateAuthors ¶
func (q *Queries) CreateAuthors(ctx context.Context, arg CreateAuthorsParams) error
func (*Queries) UpdateAuthor ¶
func (q *Queries) UpdateAuthor(ctx context.Context, arg UpdateAuthorParams) error
func (*Queries) UpdateAuthors ¶
func (q *Queries) UpdateAuthors(ctx context.Context, arg UpdateAuthorsParams) error
type UpdateAuthorParams ¶
type UpdateAuthorParams struct { ID int64 Name string Bio sql.NullString }
type UpdateAuthorsParams ¶
Click to show internal directories.
Click to hide internal directories.