「golang」关闭单元测试的缓存

在1.10版本上单元测试时默认会启动缓存,如下关闭缓存方法:

$go test -count=1 -v xxx_test.go

posted on 2018-04-18 10:58  trako  阅读(833)  评论(0编辑  收藏  举报

导航