1
0
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:
Pengfei Xue 2013-11-21 18:39:16 +08:00
parent f52faf63f7
commit 0122addd00

View File

@ -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()
}
}