Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chetanhs
· 6y ago · 0 comments
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()
Comments
[–]
sangnoir
6y ago
import errors "github.com/morningvera/eris"
[–]
chetanhs
OP
6y ago
Yes it can be import aliased everywhere. But my point is it’s not needed.