github.com/april1989/origin-go-tools@v0.0.32/refactor/eg/testdata/G1.go (about) 1 // +build ignore 2 3 package G1 4 5 import "go/ast" 6 7 func example() { 8 _ = ast.BadExpr{From: 123, To: 456} // match 9 _ = ast.BadExpr{123, 456} // no match 10 _ = ast.BadExpr{From: 123} // no match 11 _ = ast.BadExpr{To: 456} // no match 12 }