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

Method CreateAccount

database/mocks/repo_mocks.go:340–343  ·  view source on GitHub ↗

Account methods

(account model.Account)

Source from the content-addressed store, hash-verified

338// Account methods
339
340func (m *MockDataSource) CreateAccount(account model.Account) (model.Account, error) {
341 args := m.Called(account)
342 return args.Get(0).(model.Account), args.Error(1)
343}
344
345func (m *MockDataSource) GetAccountByID(id string, include []string) (*model.Account, error) {
346 args := m.Called(id, include)

Callers

nothing calls this directly

Calls 2

GetMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected