This commit is contained in:
Unknwon
2015-09-08 06:18:41 -04:00
parent d977e88e8a
commit c1b14feb5c
6 changed files with 26 additions and 15 deletions

View File

@@ -9,7 +9,7 @@
## 翻译进度
10.8 [垃圾回收和 SetFinalizer](eBook/10.8.md)
11.1 [接口是什么](eBook/11.1.md)
## 支持本书

View File

@@ -8,6 +8,15 @@
本书的主要译者是 [@无闻Unknwon](http://www.weibo.com/Obahua),是一名 Go 语言爱好者和传播者,目前是 [Go Walker](https://gowalker.org)、Gopm、[Gogs](http://gogs.io) 和 [Macaron](https://github.com/Unknwon/macaron) 创始人,极客学院签约讲师。
目前已由多位 Go 语言爱好者共同提交翻译内容,主要包括:
- [@zhanming](https://github.com/zhanming)
- themorecolor
- [@everyx](https://github.com/everyx)
- [@chidouhu](https://github.com/chidouhu)
- [@spawnris](https://github.com/spawnris)
- [@domainname](https://github.com/domainname)
- [@leisore](https://github.com/leisore)
## 适用人群
适合有一定编程基础,初学 Go 语言的爱好者。
@@ -19,4 +28,4 @@ Golang 编程245386165
|更新日期 |更新内容
|----------|------------------
|2015-08-25|10.8 垃圾回收和 SetFinalizer
|2015-09-8|11.1 接口是什么

2
TOC.md
View File

@@ -88,3 +88,5 @@
- 10.6 [方法](eBook/10.6.md)
- 10.7 [类型的 String() 方法和格式化描述符](eBook/10.7.md)
- 10.8 [垃圾回收和 SetFinalizer](eBook/10.8.md)
- 第11章[接口interface与反射reflection](eBook/11.0.md)
- 11.1 [接口是什么](eBook/11.1.md)

View File

@@ -7,7 +7,7 @@ Go 开发者不需要写代码来释放程序中不再使用的变量和结构
如果想知道当前的内存状态,可以使用:
```go
fmt.Printf(%d\n, runtime.MemStats.Alloc/1024)
fmt.Printf("%d\n", runtime.MemStats.Alloc/1024)
```
上面的程序会给出已分配内存的总量,单位是 Kb。进一步的测量参考 [文档页面](http://golang.org/pkg/runtime/#MemStatsType)。
@@ -30,4 +30,4 @@ runtime.SetFinalizer(obj, func(obj *typeObj))
- [目录](directory.md)
- 上一节:[类型的 String() 方法和格式化描述符](10.7.md)
- 下一章:[11 接口Interfaces与反射reflection](11.0.md)
- 下一章:[接口Interfaces与反射reflection](11.0.md)

View File

@@ -5,5 +5,5 @@
## 链接
- [目录](directory.md)
- 上一[垃圾回收和SetFinalizer](10.8.md)
- 上一[垃圾回收和SetFinalizer](10.8.md)
- 下一节:[接口是什么](11.1.md)