avoid writer indirects in templates
This commit is contained in:
parent
ab9dc20c3c
commit
b915131ab4
|
@ -526,6 +526,7 @@ if !ok {
|
|||
fout += `var iw http.ResponseWriter
|
||||
if gzw, ok := w.(c.GzipResponseWriter); ok {
|
||||
iw = gzw.ResponseWriter
|
||||
w = gzw.Writer
|
||||
}
|
||||
_ = iw
|
||||
var tmp []byte
|
||||
|
|
Loading…
Reference in New Issue