forked from mirror/client_golang
Type responseWriterDelegator: Remove unused fields
Fixes: http.go:355:2: field handler is unused (U1000) http.go:355:11: field method is unused (U1000) Signed-off-by: Karsten Weiss <knweiss@gmail.com>
This commit is contained in:
parent
958ea82988
commit
ea0d27e8cf
|
@ -352,10 +352,9 @@ func computeApproximateRequestSize(r *http.Request) <-chan int {
|
||||||
type responseWriterDelegator struct {
|
type responseWriterDelegator struct {
|
||||||
http.ResponseWriter
|
http.ResponseWriter
|
||||||
|
|
||||||
handler, method string
|
status int
|
||||||
status int
|
written int64
|
||||||
written int64
|
wroteHeader bool
|
||||||
wroteHeader bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *responseWriterDelegator) WriteHeader(code int) {
|
func (r *responseWriterDelegator) WriteHeader(code int) {
|
||||||
|
|
Loading…
Reference in New Issue