mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:11:36 +08:00
fix: fix a lot of incorrect links (#849)
This commit is contained in:
@@ -64,7 +64,7 @@ const (
|
||||
)
|
||||
```
|
||||
|
||||
现在,数字 `0`、`1` 和 `2` 分别代表未知性别、女性和男性。这些枚举值可以用于测试某个变量或常量的实际值,比如使用 switch/case 结构([第 5.3 节](.\05.3.md))。
|
||||
现在,数字 `0`、`1` 和 `2` 分别代表未知性别、女性和男性。这些枚举值可以用于测试某个变量或常量的实际值,比如使用 switch/case 结构([第 5.3 节](./05.3.md))。
|
||||
|
||||
在这个例子中,`iota` 可以被用作枚举值:
|
||||
|
||||
|
Reference in New Issue
Block a user