puzzle

package
v0.0.0-...-2aeae51 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: Zlib Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForEachLine

func ForEachLine(input io.Reader, fn func(line string))

func ForEachLineSubmatches

func ForEachLineSubmatches(input io.Reader, pat string, fn func(submatches []string))

func ReadLines

func ReadLines(input io.Reader) (lines []string)

Types

type Puzzle

type Puzzle interface {
	Solve(input io.Reader) (answer string, err error)
}

Jump to

Keyboard shortcuts

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