会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
徐行
管理
2024年7月20日
go_test我使用
摘要: go_test 一、Test 1. 使用介绍 测试函数以Test开头,只能有一个t *testing.T参数 输出:通过*testing.T 参数的断言函数检查。 执行:运行go test时自动运行 2. 用例 package main import "testing" func Hello() s
阅读全文
posted @ 2024-07-20 16:19 徐行code
阅读(72)
评论(0)
推荐(0)