第一章:Go常量系统冷知识(io … Go常量系统冷知识(iota、无类型常量、const块作用域):为什么1<<31在int32下不报错却运行时panic?Read more
Go常量偏移
Go iota枚举陷阱:const块内插入注释/空行导致值偏移,API版本号突变引发大规模兼容故障
第一章:Go iota枚举陷阱: … Go iota枚举陷阱:const块内插入注释/空行导致值偏移,API版本号突变引发大规模兼容故障Read more
第一章:Go iota枚举陷阱: … Go iota枚举陷阱:const块内插入注释/空行导致值偏移,API版本号突变引发大规模兼容故障Read more