Documentation ¶
Index ¶
- type AccountPostgresRepository
- func (r AccountPostgresRepository) Deposit(id int, value float64) error
- func (r AccountPostgresRepository) Get(id int) (*models.Account, error)
- func (r AccountPostgresRepository) GetAll() ([]models.Account, error)
- func (h AccountPostgresRepository) SaveCsv(accountList []models.Account) error
- func (r AccountPostgresRepository) Withdrawal(id int, value float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountPostgresRepository ¶
type AccountPostgresRepository struct{}
func NewAccountPostgresRepository ¶
func NewAccountPostgresRepository() *AccountPostgresRepository
func (AccountPostgresRepository) Deposit ¶
func (r AccountPostgresRepository) Deposit(id int, value float64) error
func (AccountPostgresRepository) Get ¶
func (r AccountPostgresRepository) Get(id int) (*models.Account, error)
func (AccountPostgresRepository) GetAll ¶
func (r AccountPostgresRepository) GetAll() ([]models.Account, error)
func (AccountPostgresRepository) SaveCsv ¶
func (h AccountPostgresRepository) SaveCsv(accountList []models.Account) error
func (AccountPostgresRepository) Withdrawal ¶
func (r AccountPostgresRepository) Withdrawal(id int, value float64) error
Click to show internal directories.
Click to hide internal directories.