We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d64e8b commit dbdb412Copy full SHA for dbdb412
dump.go
@@ -20,7 +20,7 @@ type bodyWriter struct {
20
}
21
22
// implements gin.ResponseWriter
23
-func (w bodyWriter) Write(b []byte) (int, error) {
+func (w *bodyWriter) Write(b []byte) (int, error) {
24
if w.body != nil {
25
if w.body.Len()+len(b) > w.maxSize {
26
w.body.Write(b[:w.maxSize-w.body.Len()])
0 commit comments