Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int64Slice ¶
type Int64Slice []int64
Int64Slice is a sql scanner interface for using []int64 as postgres arrays.
func (Int64Slice) MarshalJSON ¶
func (v Int64Slice) MarshalJSON() ([]byte, error)
MarshalJSON implements the json Marshaler interface.
func (*Int64Slice) Scan ¶
func (v *Int64Slice) Scan(src interface{}) error
Scan implements the sql Scanner interface.
func (*Int64Slice) UnmarshalJSON ¶
func (v *Int64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json Unmarshaler interface.
type JSONB ¶
type JSONB []byte
func (JSONB) MarshalJSON ¶
MarshalJSON implements the json Marshaler interface.
func (*JSONB) UnmarshalJSON ¶
UnmarshalJSON implements the json Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.