Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶ added in v0.26.0
type Binary[T interface { encoding.BinaryMarshaler }, Tp interface { *T encoding.BinaryUnmarshaler }] struct { Val T }
type HStore ¶ added in v0.13.0
HStore is a wrapper for transferring HStore values back and forth easily.
type JSON ¶
type JSON[T any] struct { Val T }
func (JSON[T]) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (JSON[T]) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*JSON[T]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
func (*JSON[T]) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type Text ¶ added in v0.26.0
type Text[T interface { encoding.TextMarshaler }, Tp interface { *T encoding.TextUnmarshaler }] struct { Val T }
Click to show internal directories.
Click to hide internal directories.