MCPcopy
hub / github.com/inancgumus/learngo / main

Function main

logparser/testing/main.go:18–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16)
17
18func main() {
19 p := report.New()
20
21 in := bufio.NewScanner(os.Stdin)
22 for in.Scan() {
23 p.Parse(in.Text())
24 }
25
26 summarize(p.Summarize(), p.Err(), in.Err())
27}

Callers

nothing calls this directly

Calls 5

NewFunction · 0.92
SummarizeMethod · 0.80
summarizeFunction · 0.70
ParseMethod · 0.65
ErrMethod · 0.65

Tested by

no test coverage detected