go 反射 遍历对象属性 切片 Map
摘要:
package main import "fmt" import "reflect" func main() { p1 := Person{Name: "test1", Age: 20, Address: "1323"} p2 := Person{Name: "demo2", Age: 24, Ad 阅读全文
posted @ 2024-10-18 22:05 dz45693 阅读(9) 评论(0) 推荐(0) 编辑