Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-native-go/examples
/ WithTransactionLogger
Method
WithTransactionLogger
ch08/hexarch/core/core.go:72–75 ·
view source on GitHub ↗
(tl TransactionLogger)
Source
from the content-addressed store, hash-verified
70
}
71
72
func
(store *KeyValueStore) WithTransactionLogger(tl TransactionLogger) *KeyValueStore {
73
store.transact = tl
74
return
store
75
}
76
77
func
(store *KeyValueStore) Restore() error {
78
var
err error
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected