From d35ee31f130bea4329120702feb81db3772f0c76 Mon Sep 17 00:00:00 2001 From: ZGGSONG Date: Sun, 24 Apr 2022 16:54:04 +0800 Subject: [PATCH] tmp --- Slice/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Slice/main.go b/Slice/main.go index f859bd2..5aa52c2 100644 --- a/Slice/main.go +++ b/Slice/main.go @@ -6,7 +6,7 @@ import ( ) func main() { - var a []string //声明一个字符串切片 + var a []string //声明一个字符串切片未初始化 b := []int{} //声明一个整型切片并初始化 c := []bool{true, false} //声明一个整型切片并初始化 fmt.Println(a)