csvinfer

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package csvinfer guesses the types of CSV columns and uses these to generate a CSVProtoMapping object that in turn may be used to generate a .proto definition and CSV-to-proto parser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InferProto

func InferProto(csvLines string, opts *recordinfer.Options) (*recordinfer.InferredProto, error)

InferProto returns a guess at the schema of a provided CSV sample. The input may be a full CSV file, but users should note that values are kept in memory during inference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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