golang json to array, image json.RawMessage
json.RawMessage
type MuseReportUesr struct {
Id uint `gorm:"column:id" db:"id" json:"id" form:"id"`
Img json.RawMessage `gorm:"column:img" db:"img" json:"img" form:"img"`
ReportId uint `gorm:"column:report_id" db:"report_id" json:"report_id" form:"report_id"`
func (MuseReportUesr) TableName() string {
return "muse_report_uesr"
}
