package
Version:
v0.0.0-...-18d1cec
Opens a new window with list of versions in this module.
Published: Oct 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
Username string `json:"username" gorm:"uniqueIndex" validate:"required,min=5,max=12,alphanum"`
Password string `json:"password" validate:"required,min=8,max=32"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.