From c6dacbee6f6eb9aa87ae18d0c1b6135bc7622b9c Mon Sep 17 00:00:00 2001 From: Junv Date: Sat, 12 Oct 2019 16:20:58 +1100 Subject: [PATCH] Update go.md --- categories/go.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/categories/go.md b/categories/go.md index a0d788f..c0f7ee8 100644 --- a/categories/go.md +++ b/categories/go.md @@ -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