Documentation ¶
Index ¶
- type MockService
- func (s *MockService) GetAccountBalanceByID(_ context.Context, _ string) (float64, error)
- func (s *MockService) GetAccountByCPF(_ context.Context, _ string) (listing.Account, error)
- func (s *MockService) GetAccounts(_ context.Context) ([]listing.Account, error)
- func (s *MockService) GetTransfersByAccountID(ctx context.Context, id string) (listing.AccountTransfers, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct { Balance float64 Accounts []listing.Account Account listing.Account AccountTransfers listing.AccountTransfers CallsToFail int Err error }
func (*MockService) GetAccountBalanceByID ¶
func (*MockService) GetAccountByCPF ¶
func (*MockService) GetAccounts ¶
func (*MockService) GetTransfersByAccountID ¶
func (s *MockService) GetTransfersByAccountID(ctx context.Context, id string) (listing.AccountTransfers, error)
Click to show internal directories.
Click to hide internal directories.