Documentation ¶
Index ¶
- func Append(b []byte, v interface{}, quote int) []byte
- func AppendBytes(b []byte, bytes []byte, quote int) []byte
- func AppendError(b []byte, err error) []byte
- func AppendField(b []byte, field string, quote int) []byte
- func AppendFieldBytes(b []byte, field []byte, quote int) []byte
- func AppendJSONB(b, jsonb []byte, quote int) []byte
- func AppendNull(b []byte, quote int) []byte
- func AppendString(b []byte, s string, quote int) []byte
- func AppendStringStringMap(b []byte, m map[string]string, quote int) []byte
- func AppendTime(b []byte, tm time.Time, quote int) []byte
- func ParseTime(b []byte) (time.Time, error)
- func ParseTimeString(s string) (time.Time, error)
- func Scan(v interface{}, rd Reader, n int) error
- func ScanBytes(rd Reader, n int) ([]byte, error)
- func ScanFloat64(rd Reader, n int) (float64, error)
- func ScanInt(rd Reader, n int) (int, error)
- func ScanInt64(rd Reader, n int) (int64, error)
- func ScanString(rd Reader, n int) (string, error)
- func ScanTime(rd Reader, n int) (time.Time, error)
- func ScanUint64(rd Reader, n int) (uint64, error)
- func ScanValue(v reflect.Value, rd Reader, n int) error
- type AppenderFunc
- type Array
- type ArrayValueScanner
- type BytesReader
- type F
- type Hstore
- type NullTime
- type Q
- type Reader
- type ScannerFunc
- type ValueAppender
- type ValueScanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendError ¶
func AppendJSONB ¶
func AppendNull ¶
func AppendStringStringMap ¶
Types ¶
type AppenderFunc ¶
func Appender ¶
func Appender(typ reflect.Type) AppenderFunc
func ArrayAppender ¶
func ArrayAppender(typ reflect.Type) AppenderFunc
func HstoreAppender ¶
func HstoreAppender(typ reflect.Type) AppenderFunc
type ArrayValueScanner ¶
type BytesReader ¶
type BytesReader = internal.BytesReader
func NewBytesReader ¶
func NewBytesReader(buf []byte) *BytesReader
type NullTime ¶
NullTime is a time.Time wrapper that marshals zero time as JSON null and PostgreSQL NULL.
func (NullTime) MarshalJSON ¶
func (*NullTime) UnmarshalJSON ¶
type ScannerFunc ¶
func ArrayScanner ¶
func ArrayScanner(typ reflect.Type) ScannerFunc
func HstoreScanner ¶
func HstoreScanner(typ reflect.Type) ScannerFunc
func Scanner ¶
func Scanner(typ reflect.Type) ScannerFunc
type ValueAppender ¶
func InMulti ¶
func InMulti(values ...interface{}) ValueAppender
func InSlice ¶
func InSlice(slice interface{}) ValueAppender
type ValueScanner ¶
Click to show internal directories.
Click to hide internal directories.