(userId int)
| 189 | } |
| 190 | |
| 191 | func getUserSettingCache(userId int) (dto.UserSetting, error) { |
| 192 | cache, err := GetUserCache(userId) |
| 193 | if err != nil { |
| 194 | return dto.UserSetting{}, err |
| 195 | } |
| 196 | return cache.GetSetting(), nil |
| 197 | } |
| 198 | |
| 199 | // New functions for individual field updates |
| 200 | func updateUserStatusCache(userId int, status bool) error { |
no test coverage detected