Documentation ¶
Index ¶
- type Account
- type Config
- type CreatePersonParams
- type DBTX
- type GetAccountsByEmailRow
- type Person
- type Querier
- type Queries
- func (q *Queries) ConfigsGet(ctx context.Context, slugs string) ([][]byte, error)
- func (q *Queries) CreateAccount(ctx context.Context, email string) (uuid.UUID, error)
- func (q *Queries) CreatePerson(ctx context.Context, arg CreatePersonParams) (uuid.UUID, error)
- func (q *Queries) GetAccountsByEmail(ctx context.Context, emails []string) ([]*GetAccountsByEmailRow, error)
- func (q *Queries) SaveConfig(ctx context.Context, arg SaveConfigParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SaveConfigParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePersonParams ¶
type GetAccountsByEmailRow ¶
type Querier ¶
type Querier interface { ConfigsGet(ctx context.Context, slugs string) ([][]byte, error) CreateAccount(ctx context.Context, email string) (uuid.UUID, error) CreatePerson(ctx context.Context, arg CreatePersonParams) (uuid.UUID, error) GetAccountsByEmail(ctx context.Context, emails []string) ([]*GetAccountsByEmailRow, error) SaveConfig(ctx context.Context, arg SaveConfigParams) error }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ConfigsGet ¶
func (*Queries) CreateAccount ¶
func (*Queries) CreatePerson ¶
func (*Queries) GetAccountsByEmail ¶
func (*Queries) SaveConfig ¶
func (q *Queries) SaveConfig(ctx context.Context, arg SaveConfigParams) error
type SaveConfigParams ¶
Click to show internal directories.
Click to hide internal directories.