package
Version:
v0.0.0-...-8a2aeaf
Opens a new window with list of versions in this module.
Published: Dec 24, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Account struct {
gorm.Model
Username string `valid:"required,length(4|15)" schema:username`
Password string `gorm:"-" valid:"required,length(5|15)" schema:"password"`
Email string `valid:"required,email" schema:"email"`
VerifyPass string `gorm:"-" schema:"verifypass"`
HashedPassword string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.