package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Sep 2, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type User struct {
ID uint `gorm:"primaryKey" json:"-"`
Username string `gorm:"uniqueIndex" json:"-"`
Email string `gorm:"unique" json:"-"`
Password string `json:"-"`
Bio string `json:"-"`
CreatedAt time.Time `gorm:"autoCreateTime" json:"-"`
UpdatedAt time.Time `gorm:"autoUpdateTime" json:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.