people

command
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2019 License: MIT Imports: 7 Imported by: 0

README

Parquetgen example

To generate the code needed to run this example:

cd cmd/parquetgen
go get ./...
go install
cd ../../examples/people
go generate

Go generate calls (see the top of main.go for the go:generate command):

//parquetgen -input main.go -type Person -package main

which produces a file called parquet.go. Now run:

go run .

You should now have a parquet file that encodes a Person struct. To read the values back run:

go run . -read people.parquet

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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