arrow_marshal

package module
v0.1.2-0...-cad772a Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 6 Imported by: 0

README

Go Arrow Unmarshal

Actions Status codecov

Go package to unmarshal arrow records into array of structs. Can use tags to specify fields

Example
type MyData struct {
    MyInt       int32       `arrow:"int_field"`
    MyFloat     float32     `arrow:"float_field"`    
    Timestamp   time.Time   `arrow:"ts_field"`
}

data, err := arrow_marshal.UnmarshalRecords(records, MyData{})

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnmarshalRecords

func UnmarshalRecords(record array.Record, v interface{}) ([]interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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