package
Version:
v0.0.0-...-53711f0
Opens a new window with list of versions in this module.
Published: Oct 19, 2023
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
Id uint64 `gorm:"primaryKey;autoIncrement:true"`
Name string `gorm:"size:255;index:idx_name,unique"`
Password string `gorm:"size:64"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt *time.Time
Walks []Walk `gorm:"constraint:OnUpdate:CASCADE,OnDelete:SET NULL"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.