Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsPostgres ¶
type AccountsPostgres struct {
// contains filtered or unexported fields
}
func NewAccountsPostgres ¶
func NewAccountsPostgres(pos *PostgresDB) *AccountsPostgres
func (*AccountsPostgres) Deposit ¶
func (r *AccountsPostgres) Deposit(accountId int, amount float64) error
type PostgresDB ¶
type PostgresDB struct {
// contains filtered or unexported fields
}
func NewPostgresDB ¶
func NewPostgresDB(dsn string) (*PostgresDB, error)
Click to show internal directories.
Click to hide internal directories.