converted stream reader to io.ReadCloser

This commit is contained in:
Brad Rydzewski
2016-04-22 18:15:07 -07:00
parent f8a2a32383
commit b9037b9d7c
5 changed files with 19 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ func GetStream2(c *gin.Context) {
go func() {
<-c.Writer.CloseNotify()
// rc.Close()
rc.Close()
}()
var line int