github.com/v2fly/tools@v0.100.0/refactor/eg/testdata/H1.go (about) 1 package H1 2 3 import "go/ast" 4 5 func example() { 6 _ = ast.BadExpr{From: 123, To: 456} // no match 7 _ = ast.BadExpr{123, 456} // match 8 _ = ast.BadExpr{From: 123} // no match 9 _ = ast.BadExpr{To: 456} // no match 10 }