MCPcopy
hub / github.com/usememos/memos / userCacheKey

Function userCacheKey

store/user.go:86–88  ·  view source on GitHub ↗
(userID int32)

Source from the content-addressed store, hash-verified

84}
85
86func userCacheKey(userID int32) string {
87 return strconv.Itoa(int(userID))
88}
89
90func (s *Store) CreateUser(ctx context.Context, create *User) (*User, error) {
91 user, err := s.driver.CreateUser(ctx, create)

Callers 6

deleteUserCacheMethod · 0.85
CreateUserMethod · 0.85
CreateUserIfNoUsersMethod · 0.85
UpdateUserMethod · 0.85
ListUsersMethod · 0.85
GetUserMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected