Posted in

Go中map[string]interface{} POST的安全硬编码陷阱:如何用go:generate自动生成类型安全的Client SDK,杜绝运行时panic?

第一章:Go中map[strin … Go中map[string]interface{} POST的安全硬编码陷阱:如何用go:generate自动生成类型安全的Client SDK,杜绝运行时panic?Read more

Posted in

Go JSON-RPC over HTTP POST中map[string]interface{}的语义歧义问题:method字段冲突、id类型不一致、error结构非标三大坑

第一章:Go JSON-RPC … Go JSON-RPC over HTTP POST中map[string]interface{}的语义歧义问题:method字段冲突、id类型不一致、error结构非标三大坑Read more

Posted in

Go map interface{}数字类型谜题:为什么json.Unmarshal总返回float64?3个被官方文档刻意隐藏的runtime.Type行为!

第一章:Go map inter … Go map interface{}数字类型谜题:为什么json.Unmarshal总返回float64?3个被官方文档刻意隐藏的runtime.Type行为!Read more

Posted in

Go服务灰度发布必备:map[string]interface{} POST字段灰度兼容策略(旧字段保留+新字段静默忽略+版本路由自动分流)

第一章:Go服务灰度发布的架构演 … Go服务灰度发布必备:map[string]interface{} POST字段灰度兼容策略(旧字段保留+新字段静默忽略+版本路由自动分流)Read more