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() } |
9 |
Members
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() } |
9 |