Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type User ¶
type User struct { BaseModel Email string `gorm:"unique;not null" json:"email"` Password string `gorm:"not null" json:"-"` ActivatedAt *time.Time `gorm:"index" json:"activated_at"` ActivationToken string `gorm:"index" json:"activation_token"` RefreshToken string `gorm:"index" json:"refresh_token"` }
func (*User) FindByActivationToken ¶
Click to show internal directories.
Click to hide internal directories.