code: package main import "fmt" type Node struct { _ int id int } func main() { n := Node{ id: 1, } fmt.Println(n) } 这个补位字段,它不能读取,不能赋值,作用就是占个位置。
code:
这个补位字段,它不能读取,不能赋值,作用就是占个位置。