MCPcopy
hub / github.com/op/go-logging / rec

Function rec

log_test.go:39–45  ·  view source on GitHub ↗
(log *Logger, r int)

Source from the content-addressed store, hash-verified

37func a(log *Logger) { b(log) }
38
39func rec(log *Logger, r int) {
40 if r == 0 {
41 a(log)
42 return
43 }
44 rec(log, r-1)
45}
46
47func testCallpath(t *testing.T, format string, expect string) {
48 buf := &bytes.Buffer{}

Callers 1

testCallpathFunction · 0.85

Calls 1

aFunction · 0.85

Tested by

no test coverage detected