1
0
mirror of https://github.com/golang/go synced 2024-11-05 23:36:12 -07:00
go/refactor/eg/testdata/D.template
Alan Donovan bfcffc697d go.tools/refactor/eg: an example-based refactoring tool.
See refactor/eg/eg.go for details.

LGTM=crawshaw
R=crawshaw, gri, kamil.kisiel, josharian
CC=golang-codereviews
https://golang.org/cl/81010043
2014-04-02 12:24:55 -04:00

9 lines
217 B
Plaintext

package template
import "fmt"
// Test of semantic (not syntactic) matching of basic literals.
func before() (int, error) { return fmt.Println(123, "a") }
func after() (int, error) { return fmt.Println(456, "!") }