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

Method CreateBalance

database/mocks/repo_mocks.go:265–268  ·  view source on GitHub ↗

Balance methods

(balance model.Balance)

Source from the content-addressed store, hash-verified

263// Balance methods
264
265func (m *MockDataSource) CreateBalance(balance model.Balance) (model.Balance, error) {
266 args := m.Called(balance)
267 return args.Get(0).(model.Balance), args.Error(1)
268}
269
270func (m *MockDataSource) GetBalanceByID(id string, include []string, withQueued bool) (*model.Balance, error) {
271 args := m.Called(id, include, withQueued)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected