Is Nil() gone?
还没有人认领这个 Issue。
评估
调研方向
从 README 的评估标准部分以及 github.com/alecthomas/assert/v2 中的 Nil 和 NoError 条目开始。如果 README 与公开 API 对 Nil 是否存在的说明一致,并且在 Nil 不存在时记录了预期的替代项,就算完成。
由索引模型根据 Issue 内容生成。
描述
Hi and thanks for this library!
I recently found it and wanted to port some existing code to use it.
In the readme, it mentions the evaluation criteria, and that this function was decided to keep:
Nil(t, value) -> frequently used, keep
But, it seems to not be in the repo?
I am using github.com/alecthomas/assert/v2
Maybe I'm just doing it wrong?
EDIT: I see that assert.NoError(t, err) does what I want.
- 主要语言
- Go
- 星标
- 196
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
alecthomas/assert 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 15/100
alecthomas/assert#17 ·
-
难度 4/5 3-5 天 新手友好度 30/100
alecthomas/assert#14 ·
-
难度 2/5 1-3 小时 新手友好度 38/100
alecthomas/assert#9 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 48/100
alecthomas/assert#7 · 1 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 35/100
alecthomas/assert#4 ·
查看 alecthomas/assert 的全部 Issue
相似的 Issue
-
go-vulnerability security-scan
难度 1/5 1 小时以内 新手友好度 84/100
teslashibe/agent-go#35 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
alecthomas/chroma#1498 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 8 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复