mitar
Go 1.20 added ResponseController: https://github.com/golang/go/issues/54136
#26 · open · 3 comments
Go 1.20 added ResponseController: https://github.com/golang/go/issues/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!
I think this issue has been tackled by this PR https://github.com/felixge/httpsnoop/pull/29, isn't it?