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

Method GetAllBalances

balance.go:279–290  ·  view source on GitHub ↗

GetAllBalances retrieves all balances. It starts a tracing span, fetches all balances, and records relevant events. Parameters: - ctx context.Context: The context for the operation. Returns: - []model.Balance: A slice of Balance models. - error: An error if the balances could not be retrieved.

(ctx context.Context, limit, offset int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestGetAllBalances_MockFunction · 0.95
TestGetAllBalancesFunction · 0.95

Calls 2

GetAllBalancesMethod · 0.65
StartMethod · 0.45

Tested by 2

TestGetAllBalances_MockFunction · 0.76
TestGetAllBalancesFunction · 0.76