Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordReset ¶
type PasswordReset struct { ID string `gorm:"primary_key" sql:"type:uuid;default:uuid_generate_v4()"` UserID string `sql:"type:uuid"` Expiration time.Time }
func New ¶
func New(userID string) PasswordReset
func (PasswordReset) IsValid ¶
func (p PasswordReset) IsValid() bool
Click to show internal directories.
Click to hide internal directories.