...

Source file src/golang.org/x/tools/refactor/eg/testdata/G1.go

Documentation: golang.org/x/tools/refactor/eg/testdata

     1  package G1
     2  
     3  import "go/ast"
     4  
     5  func example() {
     6  	_ = ast.BadExpr{From: 123, To: 456} // match
     7  	_ = ast.BadExpr{123, 456}           // no match
     8  	_ = ast.BadExpr{From: 123}          // no match
     9  	_ = ast.BadExpr{To: 456}            // no match
    10  }
    11  

View as plain text