package main
import "fmt"
func main() {
const (
x = iota
y
z
k = "aa"
f
g
m = iota
)
fmt.Println(x, y , z , k , f, g, m)
}
0 1 2 aa aa aa 6
package main
import "fmt"
func main() {
const (
x = iota
y
z
k = "aa"
f
g
m = iota
)
fmt.Println(x, y , z , k , f, g, m)
}
0 1 2 aa aa aa 6
本文标题:iota
本文链接:https://www.haomeiwen.com/subject/zxqjyhtx.html
网友评论