getUserCacheKey returns the key for user cache
(userId int)
| 46 | |
| 47 | // getUserCacheKey returns the key for user cache |
| 48 | func getUserCacheKey(userId int) string { |
| 49 | return fmt.Sprintf("user:%d", userId) |
| 50 | } |
| 51 | |
| 52 | // invalidateUserCache clears user cache |
| 53 | func invalidateUserCache(userId int) error { |
no outgoing calls
no test coverage detected