tools/internal/lsp/testdata/godef/a/a.go

20 lines
375 B
Go

// A comment just to push the positions out
package a
import "fmt"
type A string //@A
func Stuff() { //@Stuff
x := 5
Random2(x) //@godef("dom2", Random2)
Random() //@godef("()", Random)
var err error //@err
fmt.Printf("%v", err) //@godef("err", err)
var y string //@string,hover("string", string)
_ = make([]int, 0) //@make,hover("make", make)
}