(userId int)
| 170 | } |
| 171 | |
| 172 | func 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 |
| 181 | func updateUserStatusCache(userId int, status bool) error { |
no test coverage detected