Documentation ¶
Index ¶
- type Store
- func (_m *Store) DeleteTransaction(ctx context.Context, tx *transactions.Transaction) error
- func (_m *Store) GetTransaction(ctx context.Context, _a1 uuid.UUID) (*transactions.Transaction, error)
- func (_m *Store) GetUserTransactions(ctx context.Context, u *users.User, month string) (transactions.TransactionCollection, error)
- func (_m *Store) SaveTransaction(ctx context.Context, tx *transactions.Transaction) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func NewStore ¶
NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Store) DeleteTransaction ¶
func (_m *Store) DeleteTransaction(ctx context.Context, tx *transactions.Transaction) error
DeleteTransaction provides a mock function with given fields: ctx, tx
func (*Store) GetTransaction ¶
func (_m *Store) GetTransaction(ctx context.Context, _a1 uuid.UUID) (*transactions.Transaction, error)
GetTransaction provides a mock function with given fields: ctx, _a1
func (*Store) GetUserTransactions ¶
func (_m *Store) GetUserTransactions(ctx context.Context, u *users.User, month string) (transactions.TransactionCollection, error)
GetUserTransactions provides a mock function with given fields: ctx, u, month
func (*Store) SaveTransaction ¶
func (_m *Store) SaveTransaction(ctx context.Context, tx *transactions.Transaction) error
SaveTransaction provides a mock function with given fields: ctx, tx
Click to show internal directories.
Click to hide internal directories.