github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/refactor/eg/testdata/F.template (about) 1 package templates 2 3 // Test 4 5 import "sync" 6 7 func before(s sync.RWMutex) { s.Lock() } 8 func after(s sync.RWMutex) { s.RLock() }