(userId int)
| 177 | } |
| 178 | |
| 179 | func getUserSettingCache(userId int) (dto.UserSetting, error) { |
| 180 | cache, err := GetUserCache(userId) |
| 181 | if err != nil { |
| 182 | return dto.UserSetting{}, err |
| 183 | } |
| 184 | return cache.GetSetting(), nil |
| 185 | } |
| 186 | |
| 187 | // New functions for individual field updates |
| 188 | func updateUserStatusCache(userId int, status bool) error { |
no test coverage detected