摘要: 一直以来都以为Open()和OpenFile()没有什么大的区别,今天操作日志文件才发现,两者有很大的区别。 这是我刚开始写的代码: logFile,err:=os.Open("log/system.txt") if err!=nil{ ... 阅读全文
posted @ 2015-08-25 19:16 伤心中国人 阅读(402) 评论(0) 推荐(0) 编辑