()
| 99 | } |
| 100 | |
| 101 | func (a UserCache) String() string { |
| 102 | return json.MarshalToString(a) |
| 103 | } |
| 104 | |
| 105 | func NewUserCache(ctx context.Context, userCache UserCache) context.Context { |
| 106 | return context.WithValue(ctx, userCacheCtx{}, userCache) |
no test coverage detected