mailgun / holster

A place to keep useful golang functions and small libraries
Apache License 2.0
289 stars 35 forks source link

`holster/errors` now works with latest golang error introspection #160

Closed thrawn01 closed 1 year ago

thrawn01 commented 1 year ago

Purpose

vtopc commented 1 year ago
  1. We have a few pending breaking changes for v5 - https://github.com/mailgun/holster/search?q=TODO%28v5%29 Could you include them or merge this PR into some v5 branch to do all those TODOs there? cc @Baliedge
  2. Shouldn't we wait for the https://tip.golang.org/doc/go1.20#errors to be released?
thrawn01 commented 1 year ago

We have a few pending breaking changes for v5 - https://github.com/mailgun/holster/search?q=TODO%28v5%29 Could you include them or merge this PR into some v5 branch to do all those TODOs there? cc @Baliedge

I'm going to close this PR and make a mailgun/errors repo. Forcing everyone who uses holster to keep updating ALL of the packages from /v4 to /v5 every time we make a change is painful.

Shouldn't we wait for the https://tip.golang.org/doc/go1.20#errors to be released?

Those changes look additive, should be simple to add support of them later.