func isPkgDot(t ast.Expr, pkg, name string) bool {
	sel, ok := t.(*ast.SelectorExpr)
	return ok && isTopName(sel.X, pkg) && sel.Sel.String() == name
}
func isPkgDot(t ast.Expr, pkg, name string) bool {
	sel, ok := t.(*ast.SelectorExpr)
	return ok && isTopName(sel.X, pkg) && sel.Sel.String() == name
}
func isPkgDot ( t ast . Expr , pkg , name string ) bool { sel , ok := t . ( * ast . SelectorExpr ) return ok && isTopName ( sel . X , pkg ) && sel . Sel . String ( ) == name }
// isPkgDot returns true if t is the expression "pkg.name"
// where pkg is an imported identifier.
isPkgDot returns true if t is the expression pkg . name where pkg is an imported identifier .