🔥🔥还在用 any 硬撑通用层?Go 泛型再不补,下一轮重构你就接不住了代码能跑、单测能过、Review 也常被放过。只有改需求那一刻才疼:Cache 要加过期策略,StringCache、UserCache、SessionCache 改了两处漏一处; 分页封装要从 []T 换成带 total 的结构体,仓库里搜出十几份几乎一样的 ListXxx; 运行时 any 断言失败,日志只剩一句 interface conversion: interface {} is nil, not string。