Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dearcode/candy
/ newUserDB
Function
newUserDB
store/user.go:37–39 ·
view source on GitHub ↗
(root string)
Source
from the content-addressed store, hash-verified
35
}
36
37
func
newUserDB(root string) *userDB {
38
return
&userDB{root: root}
39
}
40
41
func
(u *userDB) start() error {
42
path := fmt.Sprintf(
"%s/%s"
, u.root, util.UserDBPath)
Callers
5
NewStore
Function · 0.85
TestUserDB
Function · 0.85
TestUserLastMessage
Function · 0.85
TestUserMessage
Function · 0.85
TestUserMessageReverse
Function · 0.85
Calls
no outgoing calls
Tested by
4
TestUserDB
Function · 0.68
TestUserLastMessage
Function · 0.68
TestUserMessage
Function · 0.68
TestUserMessageReverse
Function · 0.68