mailgun / mailgun-go

Go library for sending mail with the Mailgun API.
BSD 3-Clause "New" or "Revised" License
700 stars 143 forks source link

Why does this depend on chi? #332

Open asmaloney opened 1 week ago

asmaloney commented 1 week ago

I was surprised to see chi in my dependencies and traced it to mailgun.

What's this used for?

Could it be replaced by go 1.22's new routing?

Thanks!

vtopc commented 1 week ago

Hey. I replied in https://github.com/mailgun/mailgun-go/issues/322#issuecomment-2348634829

What's this used for?

It's used for mocks(don't ask why it's not a part of _test), and mocks are used by a lot of people - https://github.com/mailgun/mailgun-go/pull/323#issuecomment-2436746819