type Student struct{ name string age int } var stu Student stu.name,stu.age = "張三」,10 stu2 := Student{"李四",20} stu3 := new(Student) //stu3是一個指針