parse

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	// Fields are the fields that will be written to and read from a parquet file.
	Parent flds.Field
	// Errors is a list of errors that occurred while parsing a struct.
	Errors []error
}

Result holds the fields and errors that are generated by reading a go struct.

func Fields

func Fields(typ, pth string) (*Result, error)

Fields gets the fields of the given struct. pth must be a go file that defines the typ struct. Any embedded structs must also be in that same file.

Jump to

Keyboard shortcuts

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