Documentation ¶
Index ¶
- type CreateUserParams
- type DBTX
- type ListUsersParams
- type Querier
- type Queries
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteUser(ctx context.Context, id int64) error
- func (q *Queries) GetUser(ctx context.Context, id int64) (User, error)
- func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]User, error)
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SqlStore
- type Store
- type UpdateUserParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserParams ¶
type ListUsersParams ¶
type Querier ¶
type Querier interface { CreateUser(ctx context.Context, arg CreateUserParams) (User, error) DeleteUser(ctx context.Context, id int64) error GetUser(ctx context.Context, id int64) (User, error) ListUsers(ctx context.Context, arg ListUsersParams) ([]User, error) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateUser ¶
func (*Queries) UpdateUser ¶
type UpdateUserParams ¶
Click to show internal directories.
Click to hide internal directories.