Sign in
go
/
tools
/
9eb0fb1732b19b7f2307f50cae8e912fa05e93b9
/
.
/
internal
/
lsp
/
testdata
/
highlights
/
highlights.go
blob: 9314842b0aaac4712506784a6ae7524cdd2b96bd [
file
] [
log
] [
blame
]
package highlights
import "fmt"
type F struct{ bar int }
var foo = F{bar: 52}
//@highlight("foo", "foo")
func Print() {
fmt.Println(foo)
//@highlight("foo", "foo")
}
func (x *F) Inc() {
//@highlight("x", "x")
x.bar++
//@highlight("x", "x")
}