github.com/april1989/origin-go-tools@v0.0.32/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() }