Documentation
¶
Index ¶
- func GetBankStatement(userId string) ([]model.Transaction, error)
- func GetUser(id string) (*model.User, error)
- func Pool() *pgxpool.Pool
- func SaveTransaction(request *model.TransactionRequest, userId string)
- func UpdateUserBalance(request *model.TransactionRequest, userId string) (*model.TransactionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBankStatement ¶
func GetBankStatement( userId string, ) ([]model.Transaction, error)
func SaveTransaction ¶
func SaveTransaction( request *model.TransactionRequest, userId string, )
func UpdateUserBalance ¶
func UpdateUserBalance( request *model.TransactionRequest, userId string, ) (*model.TransactionResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.