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