github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/unused/testdata/src/example.com/index-write/write.go (about) 1 package pkg 2 3 var x int //@ used("x", true) 4 5 func Foo() { //@ used("Foo", true) 6 var s []int //@ used("s", true) 7 s[x] = 0 8 }