Documentation ¶
Index ¶
- type AddParams
- type DBTX
- type Queries
- func (q *Queries) Add(ctx context.Context, arg AddParams) (User, error)
- func (q *Queries) Get(ctx context.Context, id uuid.UUID) (User, error)
- func (q *Queries) Remove(ctx context.Context, id uuid.UUID) (User, error)
- func (q *Queries) Update(ctx context.Context, arg UpdateParams) (User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddParams ¶
type AddParams struct { FirstName sql.NullString LastName sql.NullString Nickname string Password []byte Email string Country sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
type UpdateParams ¶
type UpdateParams struct { ID uuid.UUID FirstName sql.NullString LastName sql.NullString Nickname string Password []byte Email string Country sql.NullString }
Click to show internal directories.
Click to hide internal directories.