Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Notification ¶
type Notification struct { gorm.Model Uuid *uuid.UUID `gorm:"type:uuid;default:uuid_generate_v4()"` Seen bool `gorm:"default:false"` Link string `gorm:"not null"` NotificationType model.NotificationType `gorm:"index"` UserID uint `gorm:"index"` User *User TriggeredByUserID uint `gorm:"index"` TriggeredByUser *User }
type Post ¶ added in v0.1.18
type Post struct { gorm.Model Text string Draft bool UserID uint User *User Visibility model.Visibility `gorm:"default:'public'"` Uuid *uuid.UUID `gorm:"type:uuid;default:uuid_generate_v4()"` }
func (*Post) UpdatePostFromModel ¶ added in v0.1.18
Click to show internal directories.
Click to hide internal directories.