golang.org/x/tools@v0.21.0/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 }