Hacker Newsnew | past | comments | ask | show | jobs | submit | chetanhs's commentslogin

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()


  import errors "github.com/morningvera/eris"


Yes it can be import aliased everywhere. But my point is it’s not needed.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: