github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/refactor/eg/testdata/J.template (about) 1 package templates 2 3 import () 4 5 func before(x int) int { return x + x + x } 6 func after(x int) int { 7 temp := x + x 8 return temp + x 9 }