Show HN: Should v0.2.0 – debugging Go tests made easier
andrey-1201 Tuesday, September 16, 2025Hey everyone
We’ve just released v0.2.0 of should: a lightweight assertion library for Go with zero dependencies and expressive error messages.
This release brings several new assertions (e.g., BeError, BeWithin, BeSameTime), refactors for better type handling, and improved docs. We’ve also added support for formatted messages and streamlined some core functions based on user feedback.
Repo: https://github.com/Kairum-Labs/should
Feedback and suggestions are very welcome!
Summary
The article discusses the 'should' function in JavaScript, which is a utility for writing more expressive and self-documenting code. It explores the purpose, usage, and benefits of the 'should' function in improving code readability and maintainability.
2
0
Summary
github.com