Go: iota & constant
https://stackoverflow.com/questions/31650192/whats-the-full-name-for-iota-in-golang
-
一个常量块中,一个常量没有赋值,取上个常量的值

- iota从0开始,每行++
- 不推荐使用iota
https://stackoverflow.com/questions/31650192/whats-the-full-name-for-iota-in-golang
一个常量块中,一个常量没有赋值,取上个常量的值