Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID interface{} `gorm:"primaryKey;autoIncrement" json:"_id,omitempty" bson:"_id,omitempty"` Email string `gorm:"not null" json:"email" validate:"required"` Password string `sql:"-" json:"password" validate:"required"` HashedPassword string `json:"-"` TokenHash string `json:"-"` CreatedAt time.Time `gorm:"autoCreateTime:milli" json:"-"` UpdatedAt time.Time `gorm:"autoCreateTime:milli" json:"-"` }
Click to show internal directories.
Click to hide internal directories.