Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TransactionPostgres ¶
type TransactionPostgres struct {
// contains filtered or unexported fields
}
func NewTransactionPostgres ¶
func NewTransactionPostgres(db *sqlx.DB) *TransactionPostgres
func (*TransactionPostgres) Create ¶
func (r *TransactionPostgres) Create(senderId, receiverId string, amount float64) error
func (*TransactionPostgres) GetAllById ¶
func (r *TransactionPostgres) GetAllById(id string) ([]entity.Transaction, error)
type WalletPostgres ¶
type WalletPostgres struct {
// contains filtered or unexported fields
}
func NewWalletPostgres ¶
func NewWalletPostgres(db *sqlx.DB) *WalletPostgres
Click to show internal directories.
Click to hide internal directories.