github.com/jhump/golang-x-tools@v0.0.0-20220218190644-4958d6d39439/internal/lsp/testdata/references/another/another.go (about)

     1  // Package another has another type.
     2  package another
     3  
     4  import (
     5  	other "github.com/jhump/golang-x-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  }