Documentation
¶
Index ¶
- Constants
- func Filter(ctx context.Context, exampleModels <-chan *models.ExampleModel) (<-chan *models.ExampleModel, <-chan error, error)
- func Read(ctx context.Context, r io.Reader) (<-chan *models.ExampleModel, <-chan error, error)
- func Transform(ctx context.Context, exampleModels <-chan *models.ExampleModel) (<-chan *models.ExampleModel, <-chan error, error)
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 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.
Click to show internal directories.
Click to hide internal directories.