(userId int)
| 154 | } |
| 155 | |
| 156 | func getUserStatusCache(userId int) (int, error) { |
| 157 | cache, err := GetUserCache(userId) |
| 158 | if err != nil { |
| 159 | return 0, err |
| 160 | } |
| 161 | return cache.Status, nil |
| 162 | } |
| 163 | |
| 164 | func getUserNameCache(userId int) (string, error) { |
| 165 | cache, err := GetUserCache(userId) |
nothing calls this directly
no test coverage detected