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

删除无用代码

This commit is contained in:
Jiepeng Cao 2018-03-21 19:31:50 +08:00 committed by GitHub
parent 013ec2cbb1
commit 2431c0248a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,6 @@ func Find(m map[int]int, key int) (value int, ok bool) {
```go
func Inc() (v int) {
v = 42
defer func(){ v++ } ()
return 42
}