httpwrap

Package httpwrap wraps an http.ResponseWriter to override some method(s) while maintaining other possible interface implementations

Go Reference