package
Version:
v0.0.0-...-7a34eef
Opens a new window with list of versions in this module.
Published: Jun 22, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type User struct {
gorm.Model
Name string `gorm:"size:128"`
Email string `gorm:"unique;size:256" form:"email" binding:"required"`
Password string `gorm:"size:128" form:"password" binding:"required"`
ResetToken string `gorm:"size:128"`
}
User 模型定义
Source Files
¶
Click to show internal directories.
Click to hide internal directories.