This commit is contained in:
astaxie
2014-03-31 22:50:22 +08:00
parent 72366b6a28
commit f6a2bc39df

View File

@@ -113,7 +113,8 @@
fmt.Println("error opening file")
return err
}
defer fh.Close()
//iocopy
_, err = io.Copy(fileWriter, fh)
if err != nil {