Nineya
Home
Blog
软著申请
Gorm 请问下现在有一个特别复杂的结构体,是以interface类型接收的,我本意是用gorm:"type:json"表示下,让它以json的方式存入数据库,但是发现好像不行,请问我应该怎么做?
2025-01-14 08:18:31
143
Your Question
The document you expected this should be explained
Expected answer
Comment From: a631807682
https://github.com/go-gorm/datatypes#json
.