Sign in
go
/
tools
/
f6ea009c5f495984cd59a7db8271d5c46dd36137
/
.
/
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("+")
}