package
Version:
v0.0.0-...-4a9023c
Opens a new window with list of versions in this module.
Published: Feb 27, 2022
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 User struct {
gorm.Model
Username string `gorm:"uniqueIndex;not nul"`
Email string `gorm:"uniqueIndex;not null"`
Password string `gorm:"not null"`
RoleType uint `gorm:"role_type"`
Creator uint `gorm:"creator"`
Modifier uint `gorm:"modifier"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.