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

Method GetBalanceAtTime

database/mocks/repo_mocks.go:333–336  ·  view source on GitHub ↗
(ctx context.Context, balanceID string, targetTime time.Time, fromSource bool)

Source from the content-addressed store, hash-verified

331}
332
333func (m *MockDataSource) GetBalanceAtTime(ctx context.Context, balanceID string, targetTime time.Time, fromSource bool) (*model.Balance, error) {
334 args := m.Called(ctx, balanceID, targetTime, fromSource)
335 return args.Get(0).(*model.Balance), args.Error(1)
336}
337
338// Account methods
339

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected