MCPcopy Create free account
hub / github.com/Go-Learning-Land/Go-Learning-Archive / two

Function two

GolangBooks/masteringGo/ch05/logDefer.go:20–27  ·  view source on GitHub ↗
(aLog *log.Logger)

Source from the content-addressed store, hash-verified

18}
19
20func two(aLog *log.Logger) {
21 aLog.Println("---- FUNCTION two")
22 defer aLog.Println("FUNCTION two ------")
23
24 for i := 10; i > 0; i-- {
25 aLog.Println(i)
26 }
27}
28
29func main() {
30 perms := os.O_APPEND | os.O_CREATE | os.O_WRONLY

Callers 1

mainFunction · 0.85

Calls 1

PrintlnMethod · 0.80

Tested by

no test coverage detected