diff options
Diffstat (limited to 'refactor/eg/testdata/J.template')
-rw-r--r-- | refactor/eg/testdata/J.template | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/refactor/eg/testdata/J.template b/refactor/eg/testdata/J.template new file mode 100644 index 000000000..6f82cdfe8 --- /dev/null +++ b/refactor/eg/testdata/J.template @@ -0,0 +1,11 @@ +// +build ignore + +package templates + +import () + +func before(x int) int { return x + x + x } +func after(x int) int { + temp := x + x + return temp + x +} |