From 2927c795f9226ceafc7b057b660145eda2a63416 Mon Sep 17 00:00:00 2001 From: LazyWolf Lin Date: Wed, 30 Jan 2019 13:38:25 +0800 Subject: [PATCH] Translating An Introduction to Go. --- translated/tech/20181224 An Introduction to Go.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translated/tech/20181224 An Introduction to Go.md b/translated/tech/20181224 An Introduction to Go.md index 0e4b77aadc..a9f50f6770 100644 --- a/translated/tech/20181224 An Introduction to Go.md +++ b/translated/tech/20181224 An Introduction to Go.md @@ -239,7 +239,7 @@ slice2 := array[:] // 整个数组的切片 slice3 := array[1:] // 除了首元素的切片 ``` -There are some more possible combinations for the slicing operator than mentioned above, but this should give a good first impression. +除了上述例子,还有更多可行的切片运算组合,但需要明了直观。 使用 `append()` 函数,切片可以作为一个变长数组使用。 @@ -248,7 +248,7 @@ slice = append(slice, value1, value2) slice = append(slice, arrayOrSlice...) ``` -Slices are also used internally to represent variable parameters in variable length functions. +切片也可以用于函数的变长参数。 ### Maps