Posted in Go语言基础和工具链Go语言t的5层反射映射:从reflect.Type.Kind()到unsafe.Offsetof(t.field),全程内存布局可视化 第一章:Go语言中t的语义本质: … Go语言t的5层反射映射:从reflect.Type.Kind()到unsafe.Offsetof(t.field),全程内存布局可视化Read more by 调试大师|2026年2月5日|结构体字段偏移, Go语言反射判断字段, reflect.Type.Kind, unsafe.Offsetof字段偏移, Go接口内存布局
Posted in Go语言基础和工具链Go map内嵌struct转JSON时,为什么嵌套map[string]interface{}能成功而map[string]MyStruct失败?(reflect.Type.Kind() vs json.structEncoder源码对照) 第一章:Go map内嵌stru … Go map内嵌struct转JSON时,为什么嵌套map[string]interface{}能成功而map[string]MyStruct失败?(reflect.Type.Kind() vs json.structEncoder源码对照)Read more by Go语言爱好者|2026年1月27日|map[string]interface{}性能问题, Go动态加载, Map转JSON崩溃, struct嵌套JSON序列化, reflect.Type.Kind, json.structEncoder源码