Documentation ¶
Index ¶
- type DBTX
- type ListParams
- type Querier
- type Queries
- func (q *Queries) Count(ctx context.Context) (int64, error)
- func (q *Queries) GetByEmail(ctx context.Context, email string) (*User, error)
- func (q *Queries) GetByExternalID(ctx context.Context, externalID string) (*User, error)
- func (q *Queries) GetByID(ctx context.Context, id uuid.UUID) (*User, error)
- func (q *Queries) List(ctx context.Context, arg ListParams) ([]*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 ListParams ¶
type Querier ¶
type Querier interface { Count(ctx context.Context) (int64, error) GetByEmail(ctx context.Context, email string) (*User, error) GetByExternalID(ctx context.Context, externalID string) (*User, error) GetByID(ctx context.Context, id uuid.UUID) (*User, error) List(ctx context.Context, arg ListParams) ([]*User, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetByEmail ¶
func (*Queries) GetByExternalID ¶
Click to show internal directories.
Click to hide internal directories.