Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Sql *gorm.DB
Functions ¶
Types ¶
type Notification ¶
type Notification struct { ID uint `gorm:"primaryKey" json:"id"` Sender string `json:"sender"` Receiver string `json:"receiver"` Body string `json:"body"` Channel string `json:"channel"` Address string `json:"address"` CreatedAt time.Time `json:"createdAt"` UpdateAt time.Time `json:"updateAt"` DeletedAt gorm.DeletedAt `gorm:"index" json:"deletedAt"` }
Click to show internal directories.
Click to hide internal directories.