package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 6, 2020
License: MIT
Opens a new window with license information.
Imports: 4
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 string `gorm:"column:id;primary_key:true"`
Name string `gorm:"column:name"`
Email string `gorm:"unique;column:email"`
Password string `gorm:"column:password"`
CreatedAt time.Time `gorm:"column:created_at"`
UpdatedAt time.Time `gorm:"column:updated_at"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.