Documentation ¶
Index ¶
- type Service
- func (_m *Service) Deposit(ctx context.Context, accountID string, amount int64) (string, error)
- func (_m *Service) GetAccount(ctx context.Context, accountID string) (*bank.Account, error)
- func (_m *Service) Transfer(ctx context.Context, from string, to string, amount int64) (string, error)
- func (_m *Service) Withdraw(ctx context.Context, accountID string, amount int64) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) Deposit ¶
Deposit provides a mock function with given fields: ctx, accountID, amount
func (*Service) GetAccount ¶
GetAccount provides a mock function with given fields: ctx, accountID
Click to show internal directories.
Click to hide internal directories.