We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type Rule struct { ID uint64 gorm:"column:id" db:"id" Content datatypes.JSONSlice[Tag] gorm:"column:content" type:"json" Version int64 gorm:"column:version" db:"version" // 版本号,时间戳毫秒 CreatedAt time.Time gorm:"column:created_at" db:"created_at" UpdatedAt time.Time gorm:"column:updated_at" db:"updated_at" DeletedAt gorm.DeletedAt gorm:"column:deleted_at" db:"deleted_at" }
gorm:"column:id" db:"id"
gorm:"column:content" type:"json"
gorm:"column:version" db:"version"
gorm:"column:created_at" db:"created_at"
gorm:"column:updated_at" db:"updated_at"
gorm:"column:deleted_at" db:"deleted_at"
JSONSlice is error
The text was updated successfully, but these errors were encountered:
Please share some more details like version info of gorm.io/datatypes, the error details, etc.
gorm.io/datatypes
Sorry, something went wrong.
gorm.io/gorm v1.25.2
jinzhu
No branches or pull requests
type Rule struct {
ID uint64
gorm:"column:id" db:"id"
Content datatypes.JSONSlice[Tag]
gorm:"column:content" type:"json"
Version int64
gorm:"column:version" db:"version"
// 版本号,时间戳毫秒CreatedAt time.Time
gorm:"column:created_at" db:"created_at"
UpdatedAt time.Time
gorm:"column:updated_at" db:"updated_at"
DeletedAt gorm.DeletedAt
gorm:"column:deleted_at" db:"deleted_at"
}
JSONSlice is error
The text was updated successfully, but these errors were encountered: