iota用法


1 iota用于const定义常量时的自增,默认从0开始自增,如果想跳过某个常量,可以使用下划线,

https://studygolang.com/articles/2192

相关