MCPcopy Create free account
hub / github.com/dearcode/candy / UserUnionKey

Function UserUnionKey

store/util.go:40–42  ·  view source on GitHub ↗

UserUnionKey create user union key by userid

(id int64)

Source from the content-addressed store, hash-verified

38
39// UserUnionKey create user union key by userid
40func UserUnionKey(id int64) []byte {
41 return util.EncodeKey(id, util.UserIDPrefix)
42}

Callers 2

registerMethod · 0.85
getUserInfoByIDMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected