(userId int)
| 146 | } |
| 147 | |
| 148 | func getUserQuotaCache(userId int) (int, error) { |
| 149 | cache, err := GetUserCache(userId) |
| 150 | if err != nil { |
| 151 | return 0, err |
| 152 | } |
| 153 | return cache.Quota, nil |
| 154 | } |
| 155 | |
| 156 | func getUserStatusCache(userId int) (int, error) { |
| 157 | cache, err := GetUserCache(userId) |
no test coverage detected