scan

package
v0.0.0-...-326b91d Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package scan provides some dead-simple useful scanners starting with

  • LinesOfWords
  • WordsPerLine

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinesOfWords

func LinesOfWords(r io.Reader, skipEmptyLines bool) <-chan []string

LinesOfWords returns a channel to receive the slice of words as found in each line.

func WordsPerLine

func WordsPerLine(r io.Reader) <-chan []string

WordsPerLine returns a channel to receive the slice of words as found in each line. Only non-empty lines are considered, thus all no empty

Types

This section is empty.

Jump to

Keyboard shortcuts

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