Skip to content

Commit

Permalink
更新 README.zh.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yyle88 authored Nov 27, 2024
1 parent 001d6bd commit 8bda865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `must` – Go 简单断言库

在 Go 中,错误处理可能显得繁琐。`must` 库简化了断言,在失败时触发 panic。
在 Go 中,错误处理可能显得繁琐。`must` 提供断言,在失败时触发 panic,在接收的返回值不符合预期时报错,这样能避免写很长的错误检查代码

---

Expand Down

0 comments on commit 8bda865

Please sign in to comment.