(email string)
| 46 | } |
| 47 | |
| 48 | func (mu mailerUser) GenerateEmailResetPasswordCode(email string) string { |
| 49 | return userutil.GenerateResetPasswordCode( |
| 50 | mu.user.ID, |
| 51 | email, |
| 52 | mu.user.Name, |
| 53 | mu.user.Password, |
| 54 | mu.user.Rands, |
| 55 | ) |
| 56 | } |
| 57 | |
| 58 | func NewMailerUser(u *User) email.User { |
| 59 | return mailerUser{u} |
nothing calls this directly
no test coverage detected