Posted in

Go JSON输出变量总缺字段?,struct tag优先级规则(json > yaml > toml)、omitempty边界条件、零值判定全图谱

第一章:Go JSON输出变量总 … Go JSON输出变量总缺字段?,struct tag优先级规则(json > yaml > toml)、omitempty边界条件、零值判定全图谱Read more

Posted in

Go语言JSON处理暗礁预警:json.RawMessage误用、time.Time序列化时区丢失、struct tag优先级冲突——5个线上故障复盘

第一章:Go语言JSON处理的核 … Go语言JSON处理暗礁预警:json.RawMessage误用、time.Time序列化时区丢失、struct tag优先级冲突——5个线上故障复盘Read more

Posted in

Go中SQL查询结果映射总panic?——struct tag深度指南:`db:”name,omitempty”`、`json:”-“`、`sql:”-“`的优先级与冲突解决

第一章:Shell脚本的基本语法 … Go中SQL查询结果映射总panic?——struct tag深度指南:db:”name,omitempty”json:”-“sql:”-“的优先级与冲突解决Read more

Posted in

Go JSON序列化梗图陷阱大全:omitempty、struct tag优先级、nil切片vs空切片、time.Time格式化4维梗图矩阵

第一章:Go JSON序列化梗图 … Go JSON序列化梗图陷阱大全:omitempty、struct tag优先级、nil切片vs空切片、time.Time格式化4维梗图矩阵Read more