github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/references/another/another.go (about) 1 // Package another has another type. 2 package another 3 4 import ( 5 other "github.com/powerman/golang-tools/internal/lsp/references/other" 6 ) 7 8 func _() { 9 xes := other.GetXes() 10 for _, x := range xes { //@mark(defX, "x") 11 _ = x.Y //@mark(useX, "x"),mark(anotherXY, "Y"),refs("Y", typeXY, anotherXY, GetXesY),refs(".", defX, useX),refs("x", defX, useX) 12 } 13 }