import "go/doc/testdata/pkgdoc"
doc.go
type G[T any] struct{ X T }
func (g G[T]) M1()
func (g *G[T]) M2()
type I interface { F() }
type T int
func (T) M()
type U int