withUser adds the user to the context.
(ctx context.Context, u *models.User)
| 62 | |
| 63 | // withUser adds the user to the context. |
| 64 | func withUser(ctx context.Context, u *models.User) context.Context { |
| 65 | return shared.WithUser(ctx, u) |
| 66 | } |
| 67 | |
| 68 | // withTargetUser adds the target user for linking to the context. |
| 69 | func withTargetUser(ctx context.Context, u *models.User) context.Context { |
no test coverage detected