Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Follow ¶
type Follow struct { gorm.Model ID int64 `gorm:"column:id;primary_key;AUTO_INCERMENT"` FollowTime time.Time `gorm:"column:follow_time;default:CURRENT_TIMESTAMP;NOT NULL"` FromUserID int64 `gorm:"column:from_user_id;NOT NULL"` ToUserID int64 `gorm:"column:to_user_id;NOT NULL"` CreateTime time.Time `gorm:"column:create_time;default:CURRENT_TIMESTAMP;NOT NULL"` UpdateTime time.Time `gorm:"column:create_time;default:CURRENT_TIMESTAMP;NOT NULL"` }
Click to show internal directories.
Click to hide internal directories.