Update go.md

This commit is contained in:
2019-10-12 16:20:58 +11:00
committed by GitHub
parent 907d93388e
commit c6dacbee6f
+2 -1
View File
@@ -27,11 +27,12 @@ new(T) -> *T
Array has a exactly length, can't be modified.
## slice
- Auto increment length
1. Auto increment length
```go
new([]int)
make([]int, 2, 5)
```
2. nil is a valid slice which length is `0`
## Go routine