package
Version:
v0.0.0-...-a9450b3
Opens a new window with list of versions in this module.
Published: Mar 1, 2023
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
UserName string `gorm:"type:varchar(32);unique;not null;comment:用户名"`
NickName string `gorm:"type:varchar(32);not null;comment:昵称"`
Password string `gorm:"type:varchar(32);not null;comment:密码"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.