github.com/acwpower/studygo@v0.0.0-20220210033106-9f3f6e60fdcc/pkg/mod/golang.org/x/tools@v0.1.1/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 }