Documentation
¶
Index ¶
- func Condition(src any) string
- type JSON
- func (j JSON[T]) Convert() any
- func (j JSON[T]) Get() T
- func (JSON[T]) GormDataType() string
- func (j JSON[T]) MarshalJSON() ([]byte, error)
- func (j *JSON[T]) Scan(value any) error
- func (j *JSON[T]) Set(data T)
- func (j *JSON[T]) UnmarshalJSON(b []byte) error
- func (j *JSON[T]) UnmarshalValue(value any) error
- func (j JSON[T]) Value() (value driver.Value, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JSON ¶ added in v0.1.6
type JSON[T any] struct { // contains filtered or unexported fields }
json类型
func (JSON[T]) GormDataType ¶ added in v0.1.6
func (JSON[T]) MarshalJSON ¶ added in v0.1.19
func (*JSON[T]) UnmarshalJSON ¶ added in v0.1.19
func (*JSON[T]) UnmarshalValue ¶ added in v0.1.19
Click to show internal directories.
Click to hide internal directories.