(userId int)
| 153 | } |
| 154 | |
| 155 | func getUserQuotaCache(userId int) (int, error) { |
| 156 | cache, err := GetUserCache(userId) |
| 157 | if err != nil { |
| 158 | return 0, err |
| 159 | } |
| 160 | return cache.Quota, nil |
| 161 | } |
| 162 | |
| 163 | func getUserStatusCache(userId int) (int, error) { |
| 164 | cache, err := GetUserCache(userId) |
no test coverage detected