JiGuBlog
文章标签关于工具
首页
文章
标签
关于
工具
Published on
2024年6月17日星期一

go test

Authors
  • avatar
    Name
    JiGu
    Twitter
    @crypto20x

可执行test文件

go test -c

会生成test.test

运行test.test 不打印t.Log内容

运行时加上 ./test.test -test.v [args]

test命令 go test -v [args], 例如需要用-c指定配置文件

go test -v '-c "../config.yaml" '
Discuss on Twitter • View on GitHub

Tags

codego

Previous Article

go广播聊天室

Next Article

COSMOS 生产环境部署流程
← Back to the blog
Donate erc-20: 0xe6E4Bcdbf6b551478971aDf45F41e402531ba661
JiGu
•
© 2025
•
代码 数字货币 记录生活. Coding,Crypto and Life JiGu Blog
Tailwind Nextjs Theme