1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 12:32:21 +00:00

ch1-04: 修复代码错误

This commit is contained in:
chai2010 2018-07-20 18:01:36 +08:00
parent 73a228a98d
commit b5e426fda9

View File

@ -63,7 +63,8 @@ func Print(a ...interface{}) {
```go
func Find(m map[int]int, key int) (value int, ok bool) {
return m[key]
value, ok = m[key]
return
}
```