Posted in Go语言基础和工具链Go iota枚举私货进阶:结合const块+位运算+String()生成带语义的错误码体系 第一章:Go iota枚举私货进 … Go iota枚举私货进阶:结合const块+位运算+String()生成带语义的错误码体系Read more by 异步行者|2026年4月6日|String()方法实现, 枚举错误码, const位运算, 避免滥用iota, Go动态加载, Go错误处理失效
Posted in 问题排查与答疑Go interface{}与Go 1.22新类型alias的冲突全景:当type MyInt int与func(*MyInt) String() string共存时,官方spec第6.5节的灰色地带 第一章:Go interface … Go interface{}与Go 1.22新类型alias的冲突全景:当type MyInt int与func(*MyInt) String() string共存时,官方spec第6.5节的灰色地带Read more by 运维喵|2026年3月28日|Go动态加载, map[string]interface{}检测, alias冲突, Content-Type头检查, 1.22类型别名, String()方法实现, Go官方spec第6.5节