From 50a330cf5f55f69b8f0ee65285868aa48cc8af9b Mon Sep 17 00:00:00 2001 From: custa Date: Sun, 14 Aug 2016 15:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=94=99=E5=88=AB=E5=AD=97:?= =?UTF-8?q?=20=E5=A4=84=E7=90=86=E5=8C=96->=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ch3/ch3-05-4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch3/ch3-05-4.md b/ch3/ch3-05-4.md index c591640..66a9dfa 100644 --- a/ch3/ch3-05-4.md +++ b/ch3/ch3-05-4.md @@ -109,7 +109,7 @@ func Join(s [][]byte, sep []byte) []byte 它们之间唯一的区别是字符串类型参数被替换成了字节slice类型的参数。 -bytes包还提供了Buffer类型用于字节slice的缓存。一个Buffer开始是空的,但是随着string、byte或[]byte等类型数据的写入可以动态增长,一个bytes.Buffer变量并不需要处理化,因为零值也是有效的: +bytes包还提供了Buffer类型用于字节slice的缓存。一个Buffer开始是空的,但是随着string、byte或[]byte等类型数据的写入可以动态增长,一个bytes.Buffer变量并不需要初始化,因为零值也是有效的: gopl.io/ch3/printints ```Go