count5

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package count5 accepts input also from one or more files supplied as command line arguments. It also tests the script using testscript. Adapted from https://github.com/bitfield/tpg-tools2/tree/main/count/5

Level: advanced Topics: testscript, tpg-tools

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main() int

func NewCounter

func NewCounter(opts ...option) (*counter, error)

func WithInput

func WithInput(input io.Reader) option

func WithInputFromArgs

func WithInputFromArgs(args []string) option

func WithOutput

func WithOutput(output io.Writer) option

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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