Skip to content

Commit

Permalink
fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CAFxX committed Jul 11, 2021
1 parent 75a3109 commit 3d346bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion response_writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var (

const maxBuf = 1 << 16 // maximum size of recycled buffer

// WriteString compresses and appends the given byte slice to the underlying ResponseWriter.
// Write compresses and appends the given byte slice to the underlying ResponseWriter.
func (w *compressWriter) Write(b []byte) (int, error) {
if w.w != nil {
// The responseWriter is already initialized: use it.
Expand Down

0 comments on commit 3d346bf

Please sign in to comment.