mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:30:55 +00:00
http.ResponseWriter doesn't implement WriteCloser interface
The removed code will never be executed, remove it
This commit is contained in:
parent
f52faf63f7
commit
0122addd00
@ -64,8 +64,6 @@ func (output *BeegoOutput) Body(content []byte) {
|
||||
output_writer.(*gzip.Writer).Close()
|
||||
case *flate.Writer:
|
||||
output_writer.(*flate.Writer).Close()
|
||||
case io.WriteCloser:
|
||||
output_writer.(io.WriteCloser).Close()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user