forEachConstructionGoStmt invokes fn for every `go` statement that runs as part of executing body.
(body *ast.BlockStmt, fn func(*ast.GoStmt))
| 122 | // forEachConstructionGoStmt invokes fn for every `go` statement that runs as |
| 123 | // part of executing body. |
| 124 | func forEachConstructionGoStmt(body *ast.BlockStmt, fn func(*ast.GoStmt)) { |
| 125 | inspectConstructionBody(body, func(n ast.Node) { |
| 126 | if g, ok := n.(*ast.GoStmt); ok { |
| 127 | fn(g) |
| 128 | } |
| 129 | }) |
| 130 | } |
no test coverage detected