add: default from to log parser

This commit is contained in:
Inanc Gumus
2019-08-06 17:15:29 +03:00
parent 9c57aad7d9
commit 450018748b
3 changed files with 8 additions and 5 deletions

View File

@@ -1,5 +1,7 @@
package main
import "os"
type (
inputFunc func() ([]result, error)
outputFunc func([]result) error
@@ -15,6 +17,8 @@ type report struct {
func newReport() *report {
return &report{
filter: noopFilter,
input: textReader(os.Stdin),
output: textWriter(os.Stdout),
}
}