mirror of
https://github.com/golang/go
synced 2024-11-19 07:54:43 -07:00
8 lines
125 B
Plaintext
8 lines
125 B
Plaintext
|
package templates
|
||
|
|
||
|
// Test
|
||
|
|
||
|
import "sync"
|
||
|
|
||
|
func before(s sync.RWMutex) { s.Lock() }
|
||
|
func after(s sync.RWMutex) { s.RLock() }
|