lines

package
v0.0.0-...-40494d1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Each

func Each(in io.Reader, cb interface{}) error

Each executes callback function cb for each line of in. The callback should recieve one argument and return nothing. Each line of in is converted to the type of the argument.

func EachStdin

func EachStdin(cb interface{}) error

EachStdin runs each for every line of stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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