在1.10版本上单元测试时默认会启动缓存,如下关闭缓存方法:$go test -count=1 -v xxx_test.go
posted on 2018-04-18 10:58 trako 阅读(839) 评论(0) 编辑 收藏 举报