Posted in Go语言基础和工具链Go test中隐藏的Hook入口:TestMain + testing.T.Cleanup + -test.benchmem=off组合技 第一章:Go test中隐藏的H … Go test中隐藏的Hook入口:TestMain + testing.T.Cleanup + -test.benchmem=off组合技Read more by 代码咖啡馆|2026年5月12日|TestMain未执行, Go测试钩子, -test.benchmem=off, Go动态加载, testexecbackupjob案例, testing.T.Cleanup