Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONSlice ¶
type JSONSlice[T any] struct { // contains filtered or unexported fields }
func NewJSONSlice ¶
type JSONType ¶
type JSONType[T any] struct { // contains filtered or unexported fields }
func NewJSONType ¶
type PBJSONSlice ¶
type PBJSONSlice[T any] struct { // contains filtered or unexported fields }
func NewPBJSONSlice ¶
func NewPBJSONSlice[T any](val []*T) *PBJSONSlice[T]
func (PBJSONSlice[T]) Data ¶
func (j PBJSONSlice[T]) Data() []*T
func (*PBJSONSlice[T]) Scan ¶
func (j *PBJSONSlice[T]) Scan(value interface{}) error
实现 sql.Scanner 接口,Scan 将 value 扫描至 Jsonb
type PBJSONType ¶
type PBJSONType[T any] struct { // contains filtered or unexported fields }
func NewPBJSONType ¶
func NewPBJSONType[T any](val *T) *PBJSONType[T]
func (PBJSONType[T]) Data ¶
func (j PBJSONType[T]) Data() *T
func (*PBJSONType[T]) Scan ¶
func (j *PBJSONType[T]) Scan(value interface{}) error
实现 sql.Scanner 接口,Scan 将 value 扫描至 Jsonb
Click to show internal directories.
Click to hide internal directories.