MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / getUserNameCache

Function getUserNameCache

model/user_cache.go:164–170  ·  view source on GitHub ↗
(userId int)

Source from the content-addressed store, hash-verified

162}
163
164func getUserNameCache(userId int) (string, error) {
165 cache, err := GetUserCache(userId)
166 if err != nil {
167 return "", err
168 }
169 return cache.Username, nil
170}
171
172func getUserSettingCache(userId int) (dto.UserSetting, error) {
173 cache, err := GetUserCache(userId)

Callers 1

GetUsernameByIdFunction · 0.85

Calls 1

GetUserCacheFunction · 0.85

Tested by

no test coverage detected