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

Function getUserSettingCache

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

Source from the content-addressed store, hash-verified

170}
171
172func getUserSettingCache(userId int) (dto.UserSetting, error) {
173 cache, err := GetUserCache(userId)
174 if err != nil {
175 return dto.UserSetting{}, err
176 }
177 return cache.GetSetting(), nil
178}
179
180// New functions for individual field updates
181func updateUserStatusCache(userId int, status bool) error {

Callers 1

GetUserSettingFunction · 0.85

Calls 2

GetUserCacheFunction · 0.85
GetSettingMethod · 0.45

Tested by

no test coverage detected