Documentation ¶
Index ¶
- type CreateTodoParams
- type DBTX
- type ListTodosParams
- type Queries
- func (q *Queries) CreateTodo(ctx context.Context, arg CreateTodoParams) (Todo, error)
- func (q *Queries) DeleteTodo(ctx context.Context, id int64) (Todo, error)
- func (q *Queries) GetTodo(ctx context.Context, id int64) (Todo, error)
- func (q *Queries) ListTodos(ctx context.Context, arg ListTodosParams) ([]Todo, error)
- func (q *Queries) UpdateTodo(ctx context.Context, arg UpdateTodoParams) (Todo, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Todo
- type UpdateTodoParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTodoParams ¶
type ListTodosParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateTodo ¶
func (*Queries) DeleteTodo ¶
func (*Queries) UpdateTodo ¶
type UpdateTodoParams ¶
Click to show internal directories.
Click to hide internal directories.