ch9: fix code format

This commit is contained in:
chai2010
2016-01-21 10:44:23 +08:00
parent b1730821fe
commit e29d0da705
6 changed files with 66 additions and 66 deletions

View File

@@ -8,9 +8,9 @@
var mu sync.RWMutex
var balance int
func Balance() int {
mu.RLock() // readers lock
defer mu.RUnlock()
return balance
mu.RLock() // readers lock
defer mu.RUnlock()
return balance
}
```