Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSession ¶
Types ¶
type Session ¶
type UserModel ¶
type UserModel struct { ID uuid.UUID Email string `gorm:"index:user_email_idx;not null"` }
func SelectUserByRegisterID ¶
type UserRegistration ¶
type UserRegistration struct { UserID uuid.UUID `gorm:"primary_key"` RegistrationID uuid.UUID `gorm:"primary_key;"` Confirmed bool }
func SelectUserRegistration ¶
func SelectUserRegistration(database *gorm.DB, registerID uuid.UUID) (UserRegistration, error)
func (UserRegistration) TableName ¶
func (ur UserRegistration) TableName() string
Click to show internal directories.
Click to hide internal directories.