golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/completion/func_sig.txt (about)

     1  This test checks completion related to function signatures.
     2  
     3  -- flags --
     4  -ignore_extra_diags
     5  
     6  -- func_sig.go --
     7  package funcsig
     8  
     9  type someType int //@item(sigSomeType, "someType", "int", "type")
    10  
    11  // Don't complete "foo" in signature.
    12  func (foo someType) _() { //@item(sigFoo, "foo", "someType", "var"),complete(") {", sigSomeType)
    13  
    14  	//@complete("", sigFoo, sigSomeType)
    15  }