Documentation ¶
Index ¶
- type CreateUserParams
- type DBTX
- type ListPaginatedUsersParams
- type Querier
- type Queries
- func (q *Queries) Close() error
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (Users, error)
- func (q *Queries) DeleteUserByEmail(ctx context.Context, email string) error
- func (q *Queries) DeleteUserByID(ctx context.Context, userID uuid.UUID) error
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (Users, error)
- func (q *Queries) GetUserByID(ctx context.Context, userID uuid.UUID) (Users, error)
- func (q *Queries) ListPaginatedUsers(ctx context.Context, arg ListPaginatedUsersParams) ([]Users, error)
- func (q *Queries) ListUsers(ctx context.Context) ([]Users, error)
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (Users, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Store
- type UpdateUserParams
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserParams ¶
type Querier ¶
type Querier interface { CreateUser(ctx context.Context, arg CreateUserParams) (Users, error) DeleteUserByEmail(ctx context.Context, email string) error DeleteUserByID(ctx context.Context, userID uuid.UUID) error GetUserByEmail(ctx context.Context, email string) (Users, error) GetUserByID(ctx context.Context, userID uuid.UUID) (Users, error) ListPaginatedUsers(ctx context.Context, arg ListPaginatedUsersParams) ([]Users, error) ListUsers(ctx context.Context) ([]Users, error) UpdateUser(ctx context.Context, arg UpdateUserParams) (Users, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateUser ¶
func (*Queries) DeleteUserByEmail ¶
func (*Queries) DeleteUserByID ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserByID ¶
func (*Queries) ListPaginatedUsers ¶
func (*Queries) UpdateUser ¶
type UpdateUserParams ¶
Click to show internal directories.
Click to hide internal directories.