Documentation ¶
Index ¶
- type Account
- type DBTX
- type Queries
- func (q *Queries) GetAccount(ctx context.Context, username string) (Account, error)
- func (q *Queries) GetAccountAndLockForUpdates(ctx context.Context, username string) (Account, error)
- func (q *Queries) UpdateAccountBalance(ctx context.Context, arg UpdateAccountBalanceParams) error
- func (q *Queries) UpdateAccountBalanceVersion(ctx context.Context, arg UpdateAccountBalanceVersionParams) (sql.Result, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateAccountBalanceParams
- type UpdateAccountBalanceVersionParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetAccount ¶
func (*Queries) GetAccountAndLockForUpdates ¶
func (*Queries) UpdateAccountBalance ¶
func (q *Queries) UpdateAccountBalance(ctx context.Context, arg UpdateAccountBalanceParams) error
func (*Queries) UpdateAccountBalanceVersion ¶
Click to show internal directories.
Click to hide internal directories.