tools/refactor/eg/testdata/G.template

10 строки
256 B
Plaintext
Исходник Обычный вид История

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} }