import_file

package
v0.5.22 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Preprocess

func Preprocess(value []byte) []byte

Types

type Extractor

type Extractor struct {
	// contains filtered or unexported fields
}

func NewExtractor

func NewExtractor(fieldNameBytes []byte, fieldTypeBytes []byte) *Extractor

func (*Extractor) Extract

func (e *Extractor) Extract(data []byte) FileData

func (*Extractor) Fields

func (e *Extractor) Fields() []b.FieldBase

type FileData

type FileData struct {
	BoolFields     map[string]interface{}
	IntFields      map[string]interface{}
	DecimalFields  map[string]interface{}
	StringFields   map[string]interface{}
	DateTimeFields map[string]interface{}
	BlobFields     map[string]interface{}
}

Jump to

Keyboard shortcuts

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