go-gorm / go-gorm/datatypes

datatypes.JSONSlice not found

Open
#245 2 comments 0 reactions 1 assignee Claimed by @jinzhu View on GitHub
Dominant language
Go
Stars
831
Forks
124
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.