From 2c2546aad6401a635a398dc1e238b86fbb3389eb Mon Sep 17 00:00:00 2001 From: Alex Guerra Date: Tue, 14 Jun 2016 20:38:26 -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 99176424..94774313 100644 --- a/response_writer.go +++ b/response_writer.go @@ -106,12 +106,12 @@ func (w *responseWriter) Hijack() (net.Conn, *bufio.ReadWriter, error) { return w.ResponseWriter.(http.Hijacker).Hijack() } -// Implements the http.CloseNotify interface +// Implements the http.CloseNotifier interface func (w *responseWriter) CloseNotify() <-chan bool { return w.ResponseWriter.(http.CloseNotifier).CloseNotify() } -// Implements the http.Flush interface +// Implements the http.Flusher interface func (w *responseWriter) Flush() { w.ResponseWriter.(http.Flusher).Flush() }