赋值:使用类型{}
human := Human{Person{"zs", 11}, "qqq"}
x := [10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}
定位:使用的.
fmt.Println(human.Person.name)
赋值:使用类型{}
human := Human{Person{"zs", 11}, "qqq"}
x := [10]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 0}
定位:使用的.
fmt.Println(human.Person.name)