From 43030e4ee9849577a778f258dcc3431a71549ed3 Mon Sep 17 00:00:00 2001 From: Alex Guerra Date: Thu, 25 Oct 2018 14:14:01 -0500 Subject: [PATCH] Fix comments mislabeling the implemented interface --- response_writer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/response_writer.go b/response_writer.go index 680bc1e2..798c352e 100644 --- a/response_writer.go +++ b/response_writer.go @@ -104,12 +104,12 @@ func (w *responseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { return w.ResponseWriter.(http.Hijacker).Hijack() } -// CloseNotify implements the http.CloseNotify interface. +// CloseNotify implements the http.CloseNotifier interface. func (w *responseWriter) CloseNotify() <-chan bool { return w.ResponseWriter.(http.CloseNotifier).CloseNotify() } -// Flush implements the http.Flush interface. +// Flush implements the http.Flusher interface. func (w *responseWriter) Flush() { w.WriteHeaderNow() w.ResponseWriter.(http.Flusher).Flush()