...

Text file src/golang.org/x/tools/refactor/eg/testdata/G.template

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

     1package templates
     2
     3import (
     4	"go/ast" // defines many unencapsulated structs
     5	"go/token"
     6)
     7
     8func before(from, to token.Pos) ast.BadExpr { return ast.BadExpr{From: from, To: to} }
     9func after(from, to token.Pos) ast.BadExpr  { return ast.BadExpr{from, to} }

View as plain text