Documentation
¶
Index ¶
- type Array
- type Object
- func (v Object[T]) As(a *T)
- func (Object[T]) DataType(driverName string) string
- func (v Object[T]) IsZero() bool
- func (v Object[T]) MarshalJSON() ([]byte, error)
- func (v *Object[T]) OneOf() []any
- func (v *Object[T]) Scan(src any) error
- func (v *Object[T]) Set(t *T)
- func (v *Object[T]) UnmarshalJSON(data []byte) error
- func (v Object[T]) Value() (driver.Value, error)
- type Value
- func (v Value[T]) As(a *T)
- func (Value[T]) DataType(driverName string) string
- func (v *Value[T]) Get() *T
- func (v Value[T]) IsZero() bool
- func (v Value[T]) MarshalJSON() ([]byte, error)
- func (v *Value[T]) OneOf() []any
- func (v *Value[T]) Scan(src any) error
- func (v *Value[T]) Set(t *T)
- func (v *Value[T]) UnmarshalJSON(data []byte) error
- func (v Value[T]) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object[T any] struct { Data *T `json:",inline"` }
func (Object[T]) MarshalJSON ¶
func (*Object[T]) UnmarshalJSON ¶
type Value ¶
type Value[T any] struct { // contains filtered or unexported fields }
func (Value[T]) MarshalJSON ¶
func (*Value[T]) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.