Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dearcode/candy
/ newFriendDB
Function
newFriendDB
store/friend.go:24–26 ·
view source on GitHub ↗
(db *userDB)
Source
from the content-addressed store, hash-verified
22
}
23
24
func
newFriendDB(db *userDB) *friendDB {
25
return
&friendDB{userDB: db}
26
}
27
28
// 修改好友关系
29
func
(f *friendDB) set(uid, fid int64, state meta.Relation, msg string) error {
Callers
2
Start
Method · 0.85
start
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected