GoPLS Viewer
Home|
gopls
/
refactor
/
eg
/
testdata
/
G1.go
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
Members
X
ast
Members
X