Documentation ¶
Index ¶
- Constants
- func DateToUint16(t time.Time) uint16
- type Encoder
- func (w *Encoder) Bytes(value []byte) error
- func (w *Encoder) Date(value time.Time) error
- func (w *Encoder) Float64(value float64) error
- func (w *Encoder) Float64List(value []float64) error
- func (w *Encoder) NullableFloat64(value float64) error
- func (w *Encoder) NullableFloat64List(value []float64) error
- func (w *Encoder) NullableUint32(value uint32) error
- func (w *Encoder) NullableUint32List(value []uint32) error
- func (w *Encoder) String(value string) error
- func (w *Encoder) StringList(value []string) error
- func (w *Encoder) Uint16(value uint16) error
- func (w *Encoder) Uint32(value uint32) error
- func (w *Encoder) Uint32List(value []uint32) error
- func (w *Encoder) Uint64(value uint64) error
- func (w *Encoder) Uint8(value uint8) error
Constants ¶
View Source
const NullUint32 = ^uint32(0)
Variables ¶
This section is empty.
Functions ¶
func DateToUint16 ¶
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func NewEncoder ¶
func (*Encoder) Float64List ¶ added in v0.12.0
func (*Encoder) NullableFloat64 ¶ added in v0.12.0
func (*Encoder) NullableFloat64List ¶ added in v0.12.0
func (*Encoder) NullableUint32 ¶ added in v0.12.0
func (*Encoder) NullableUint32List ¶ added in v0.12.0
func (*Encoder) StringList ¶
func (*Encoder) Uint32List ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.