修复结构体 tag 字段的错误使用
结构体的 tag 字段的多个 key-value 对需要使用空格分隔,否则会有以下警告: struct field tag `json:"attachments" form:"attachments" gorm:"column:attachments;comment:相关附件;"swaggertype:"array,object"` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces
This commit is contained in:
parent
2cd76c752f
commit
fe6830b77a