must

package
v0.0.0-...-9adc914 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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.

func (Int64Slice) Value

func (v Int64Slice) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type JSONB

type JSONB []byte

func (JSONB) MarshalJSON

func (v JSONB) MarshalJSON() ([]byte, error)

MarshalJSON implements the json Marshaler interface.

func (*JSONB) Scan

func (v *JSONB) Scan(src interface{}) error

Scan implements the sql Scanner interface.

func (*JSONB) UnmarshalJSON

func (v *JSONB) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json Unmarshaler interface.

func (JSONB) Value

func (v JSONB) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL