Documentation ¶ Index ¶ type IntArray func (d *IntArray) Scan(value interface{}) error func (d IntArray) Value() (driver.Value, error) type JSON func (JSON) GormDataType() string func (j *JSON) Scan(value interface{}) error func (j JSON) Value() (driver.Value, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type IntArray ¶ type IntArray []int func (*IntArray) Scan ¶ func (d *IntArray) Scan(value interface{}) error func (IntArray) Value ¶ func (d IntArray) Value() (driver.Value, error) type JSON ¶ type JSON json.RawMessage func (JSON) GormDataType ¶ func (JSON) GormDataType() string func (*JSON) Scan ¶ func (j *JSON) Scan(value interface{}) error 实现 sql.Scanner 接口,Scan 将 value 扫描至 Jsonb func (JSON) Value ¶ func (j JSON) Value() (driver.Value, error) 实现 driver.Valuer 接口,Value 返回 json value Source Files ¶ View all Source files array.gojson.go Click to show internal directories. Click to hide internal directories.