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

@@ -118,8 +118,8 @@ func Icon(name string) image.Image { return icons[name] }
下面是一個重寫了的銀行的例子這個例子中balance變量被限製在了monitor goroutine中名爲teller
<u><i>gopl.io/ch9/bank1</i></u>
```go
gopl.io/ch9/bank1
// Package bank provides a concurrency-safe bank with one account.
package bank