Hacker News new | ask | show | jobs
by chetanhs 2373 days ago
This looks pretty good. And I also get the reason behind it’s name. But for a utility package like this, it’s better if it was named errors. It makes the usage and call sites clear. Ex: eris.New() vs errors.New()
1 comments

  import errors "github.com/morningvera/eris"
Yes it can be import aliased everywhere. But my point is it’s not needed.