Documentation ¶
Index ¶
- type CreateUserParams
- type DBTX
- type Queries
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) EmailTaken(ctx context.Context, email string) (bool, error)
- func (q *Queries) GetAllUsers(ctx context.Context) ([]User, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) GetUserById(ctx context.Context, id int32) (User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateUser ¶
func (*Queries) EmailTaken ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserById ¶
Click to show internal directories.
Click to hide internal directories.