Posted in

Go interface转map的“伪安全”幻觉:3类常见误判场景(json.RawMessage、struct嵌套、自定义Unmarshaler)

第一章:Go interface … Go interface转map的“伪安全”幻觉:3类常见误判场景(json.RawMessage、struct嵌套、自定义Unmarshaler)Read more

Posted in

【Golang性能白皮书】:type switch vs reflect.TypeOf vs json.RawMessage——三种map[string]interface{}类型识别方案的内存占用/延迟/GC压力实测报告

第一章:Go怎么判断map[st … 【Golang性能白皮书】:type switch vs reflect.TypeOf vs json.RawMessage——三种map[string]interface{}类型识别方案的内存占用/延迟/GC压力实测报告Read more