Documentation
¶
Index ¶
- Constants
- Variables
- func AnyToUuid(i any) (gu.UUID, error)
- func MapToUuid(m map[string]any, uuidColumnName string) (gu.UUID, error)
- func MapToUuidAllowMissing(m map[string]any, uuidColumnName string, allowMissing bool) (gu.UUID, error)
- type Codec
- type DecodeConfig
- type EncodeConfig
- type UuidMapInt
- func (m UuidMapInt) ColumnNameToMapd(colname string) func(iter.Seq2[map[string]any, error]) iter.Seq2[map[string]any, error]
- func (m UuidMapInt) ColumnNameToMapdAllowMissing(colname string, allowMissingUuid bool) func(iter.Seq2[map[string]any, error]) iter.Seq2[map[string]any, error]
- func (m UuidMapInt) MapsToMaps(original iter.Seq2[map[string]any, error], uuidColumnName string) iter.Seq2[map[string]any, error]
- func (m UuidMapInt) MapsToMapsAllowMissing(original iter.Seq2[map[string]any, error], uuidColumnName string, ...) iter.Seq2[map[string]any, error]
Constants ¶
View Source
const BlobSizeMaxDefault int = 1048576
View Source
const BlockLengthDefault int = 100
View Source
const UuidSize int = 16
Variables ¶
Functions ¶
Types ¶
type DecodeConfig ¶
type DecodeConfig struct {
BlobSizeMax int
}
var DecodeConfigDefault DecodeConfig = DecodeConfig{ BlobSizeMax: BlobSizeMaxDefault, }
type EncodeConfig ¶
var EncodeConfigDefault EncodeConfig = EncodeConfig{ BlockLength: BlockLengthDefault, Codec: CodecNull, }
type UuidMapInt ¶
func (UuidMapInt) ColumnNameToMapd ¶
func (UuidMapInt) ColumnNameToMapdAllowMissing ¶
func (UuidMapInt) MapsToMaps ¶
Click to show internal directories.
Click to hide internal directories.