Y
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
sangnoir
2373 days ago
import errors "github.com/morningvera/eris"
link
chetanhs
2372 days ago
Yes it can be import aliased everywhere. But my point is it’s not needed.
link