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

Function newMockCache

database/transactions_test.go:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func newMockCache() *mockCache {
45 return &mockCache{data: make(map[string]interface{})}
46}
47
48func (m *mockCache) Set(ctx context.Context, key string, value interface{}, ttl time.Duration) error {
49 m.data[key] = value

Calls

no outgoing calls

Tested by

no test coverage detected