另外,也可直接宣告struct 預設值. type User struct { name string age int phone string } func main() { user1 := User{"Adam", 10, "0912345678 ...
確定! 回上一頁