30 lines
404 B
Markdown
30 lines
404 B
Markdown
|
---
|
|||
|
title: The Zero Value
|
|||
|
localeTitle: 零价值
|
|||
|
---
|
|||
|
## 零价值
|
|||
|
|
|||
|
了解Golang中的一些零值:
|
|||
|
|
|||
|
1. 对于布尔人来说是假的
|
|||
|
2. 0表示整数
|
|||
|
3. 0.0浮标
|
|||
|
4. “”表示字符串
|
|||
|
5. 没有
|
|||
|
|
|||
|
* 指针
|
|||
|
* 功能
|
|||
|
* 接口
|
|||
|
* 片
|
|||
|
* 渠道
|
|||
|
* 地图
|
|||
|
|
|||
|
请尽可能使用简短的申报运营商。
|
|||
|
|
|||
|
* 使用var代表:
|
|||
|
|
|||
|
* 零值
|
|||
|
|
|||
|
* 包装范围
|
|||
|
|
|||
|
### 更多信息
|