make 用于初始化 切片、字典、通道类型,并可以指定类型的长度
函数类型的空值 nil
函数类型空值 非nil
数组类型的空值 非nil 不包含任何元素的空数组,值全部为0,长度和数组长度一致
切片类型的空值 nil 长度为0
字典类型的空值 nil 长度为0
结构体类型空值 非nil 结构体{}
-
Notifications
You must be signed in to change notification settings - Fork 0
jingyanlei/go-test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published