Improve documentation
This commit is contained in:
1
gzip.go
1
gzip.go
@ -25,6 +25,7 @@ func (w *gzipResponseWriter) WriteHeader(status int) {
|
|||||||
w.ResponseWriter.WriteHeader(status)
|
w.ResponseWriter.WriteHeader(status)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Write writes len(b) bytes from b to the underlying data stream.
|
||||||
func (w *gzipResponseWriter) Write(b []byte) (int, error) {
|
func (w *gzipResponseWriter) Write(b []byte) (int, error) {
|
||||||
return w.Writer.Write(b)
|
return w.Writer.Write(b)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user