Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountingWriter ¶
CountingWriter will return pack io writer
Types ¶
type ByteCounter ¶
type ByteCounter struct {
// contains filtered or unexported fields
}
An ByteCounter can count word
type StringReader ¶
type StringReader struct {
// contains filtered or unexported fields
}
StringReader is a reader
type WordCounter ¶
type WordCounter struct {
// contains filtered or unexported fields
}
An WordCounter can count word and line num
Click to show internal directories.
Click to hide internal directories.