From 8cd82605dd2ad91501899dbb9a48d589e770af52 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sat, 12 Dec 2020 23:32:26 -0500 Subject: [PATCH] Improve documentation --- gzip.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gzip.go b/gzip.go index 891b8d42..ebae3291 100644 --- a/gzip.go +++ b/gzip.go @@ -25,6 +25,7 @@ func (w *gzipResponseWriter) WriteHeader(status int) { w.ResponseWriter.WriteHeader(status) } +// Write writes len(b) bytes from b to the underlying data stream. func (w *gzipResponseWriter) Write(b []byte) (int, error) { return w.Writer.Write(b) }