repo

package
v0.0.0-...-47d3968 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWalletRepository

func NewWalletRepository(db *gorm.DB) domain.WalletRepository

Types

type MockWalletRepo

type MockWalletRepo struct {
	mock.Mock
}

func (*MockWalletRepo) GetBalance

func (m *MockWalletRepo) GetBalance(walletId string) (uint64, error)

func (*MockWalletRepo) Transaction

func (m *MockWalletRepo) Transaction(transactionId string, transactionTime time.Time, transactionType string, creditedWallet string, debitedWallet string, notes string, amount uint32) (domain.Transaction, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL