package
Version:
v0.0.0-...-699ca5e
Opens a new window with list of versions in this module.
Published: Feb 6, 2024
License: MPL-2.0
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 {
ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()" json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt *time.Time `sql:"index" json:"deleted_at"`
Email string `gorm:"index:idx_email,unique"`
Password string
Active bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.