count2

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: 4 Imported by: 0

Documentation

Overview

Package count2 counts lines in input. The input defaults to STDIN. Write this package with test-first approach (TDD). All non-trivial code should be inside the package count2, not main. Adapted from https://github.com/bitfield/tpg-tools2/tree/main/count/2

If you want to climb a mountain, begin at the top. -- Zen saying

Level: intermediate Topics: TDD, default options, tpg-tools

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main added in v0.28.0

func Main()

func NewCounter

func NewCounter() *counter

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