lower case

This commit is contained in:
FrankTung
2017-02-24 11:43:56 +08:00
parent fac8d0c157
commit 2f563386a4

View File

@@ -327,7 +327,7 @@ Now we can change the value of `x` in the functions. Why do we use pointers? Wha
- Allows us to use more functions to operate on one variable.
- Low cost by passing memory addresses (8 bytes), copy is not an efficient way, both in terms of time and space, to pass variables.
- `Channel`, `slice` and `map` are reference types, so they use pointers when passing to functions by default. (Attention: If you need to change the length of `slice`, you have to pass pointers explicitly)
- `channel`, `slice` and `map` are reference types, so they use pointers when passing to functions by default. (Attention: If you need to change the length of `slice`, you have to pass pointers explicitly)
### defer