wordreader

package
Version: v0.0.0-...-d2f764f Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WordReader

type WordReader struct {
	Strings []string
	// contains filtered or unexported fields
}

WordReader contains a path to a file and the list of strings in that file

func New

func New(path string) *WordReader

New returns a new WordReader

func (*WordReader) ReadLines

func (wr *WordReader) ReadLines() (int, error)

ReadLines reads all the lines in a file

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL