☰
Debian Codegraph
@
0.8.0-1
0.7.2-1
/
/
tools
/
antithesis-go-instrumentor
/
scanners
/
coverage
/
instrumentor
/
testdata
/
golden
/
init_func
/
input.go
☽
☼
tools/antithesis-go-instrumentor/scanners/coverage/instrumentor/testdata/golden/init_func/input.go
code
plain
raw
Expat
2024 Antithesis
debian/copyright
1
package sample
2
3
var ready bool
4
5
// init is deliberately NOT instrumented -- it runs regardless, so counting
6
// it is just noise. Ready should still be instrumented.
7
func init() {
8
ready = true
9
}
10
11
func Ready() bool {
12
return ready
13
}