package Models // Attachment holds the attachment data type Attachment struct { Base FilePath string `gorm:"not null" json:"-"` Mimetype string `gorm:"not null" json:"mimetype"` }