parser

package
v0.0.0-...-620078d Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const NUM_TO_COMPARE = 20

Variables

This section is empty.

Functions

func Filter

func Filter(ctx context.Context, exampleModels <-chan *models.ExampleModel) (<-chan *models.ExampleModel, <-chan error, error)

Filter filters out the rows with Attr4 greater than NUM_TO_COMPARE

func Read

func Read(ctx context.Context, r io.Reader) (<-chan *models.ExampleModel, <-chan error, error)

Read returns the values of a reader to a channel

func Transform

func Transform(ctx context.Context, exampleModels <-chan *models.ExampleModel) (<-chan *models.ExampleModel, <-chan error, error)

Transform transforms the exampleModels concurrently

Types

This section is empty.

Jump to

Keyboard shortcuts

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