felixge/httpsnoop

Does new ResponseController have to be supported by this package?

Opened this issue · 2 comments

mitar commented

Go 1.20 added ResponseController: golang/go#54136

I think we could just add Unwrap to every struct returned by this package. This could allow that any future extension by http package would just continue to work with this package. This package can then eventually generate extension methods as well, but Unwrap is nice to have.

I think the new ResponseController should be handled, thanks for bringing this up. PRs welcome!