Sign in
go
/
tools
/
f269f537bcf2b5b9c218a3aa7e589a0d6215da05
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
selectionrange
/
foo.go
blob: 1bf41340ce6c268b22884694155c51f5fb2a076d [
file
] [
log
] [
blame
]
package foo
import "time"
func Bar(x, y int, t time.Time) int {
zs := []int{1, 2, 3}
//@selectionrange("1")
for _, z := range zs {
x = x + z + y + zs[1]
//@selectionrange("1")
}
return x + y
//@selectionrange("+")
}