你定义函数是func Test_RateLimiter(t *testing.T) {
来源:7-4 time rate限速器 简洁不简单

慕粉1494638
2020-05-23
运行时怎么运行的 相当于什么命令 go run main_test.go
写回答
1回答
-
在文件所在目录中执行:
go test
测试单个文件
go test -v hello_test.go
测试单个函数
go test -v hello_test.go -test.run TestHello122020-05-24
相似问题