MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / GetAllTransactions

Method GetAllTransactions

database/mocks/repo_mocks.go:103–106  ·  view source on GitHub ↗
(ctx context.Context, limit, offset int)

Source from the content-addressed store, hash-verified

101}
102
103func (m *MockDataSource) GetAllTransactions(ctx context.Context, limit, offset int) ([]model.Transaction, error) {
104 args := m.Called(limit, offset)
105 return args.Get(0).([]model.Transaction), args.Error(1)
106}
107
108func (m *MockDataSource) GetAllTransactionsWithFilter(ctx context.Context, filters *filter.QueryFilterSet, limit, offset int) ([]model.Transaction, error) {
109 args := m.Called(ctx, filters, limit, offset)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected