tryGetUserByEmail returns a non-nil value if the email is corresponding to an existing user.
(ctx gocontext.Context, email string)
| 110 | // tryGetUserByEmail returns a non-nil value if the email is corresponding to an |
| 111 | // existing user. |
| 112 | func tryGetUserByEmail(ctx gocontext.Context, email string) *database.User { |
| 113 | user, _ := database.Handle.Users().GetByEmail(ctx, email) |
| 114 | return user |
| 115 | } |
| 116 | |
| 117 | func Diff(c *context.Context) { |
| 118 | c.PageIs("Diff") |
no test coverage detected