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

Method GetBalancesByIDsLite

database/mocks/repo_mocks.go:280–286  ·  view source on GitHub ↗
(ctx context.Context, ids []string)

Source from the content-addressed store, hash-verified

278}
279
280func (m *MockDataSource) GetBalancesByIDsLite(ctx context.Context, ids []string) (map[string]*model.Balance, error) {
281 args := m.Called(ctx, ids)
282 if args.Get(0) == nil {
283 return nil, args.Error(1)
284 }
285 return args.Get(0).(map[string]*model.Balance), args.Error(1)
286}
287
288func (m *MockDataSource) GetAllBalances(limit, offset int) ([]model.Balance, error) {
289 args := m.Called(limit, offset)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected