1
0
mirror of https://github.com/golang/go synced 2024-11-06 01:36:10 -07:00
go/refactor/eg/testdata/G.template

10 lines
261 B
Plaintext
Raw Normal View History

package templates
import (
"go/ast" // defines many unencapsulated structs
"go/token"
)
func before(from, to token.Pos) ast.BadExpr { return ast.BadExpr{From: from, To: to} }
func after(from, to token.Pos) ast.BadExpr { return ast.BadExpr{from, to} }