2019年9月23日
摘要: fileName := "a.txt"contents ,err := ioutil.ReadFile(fileName) if err != nil{ fmt.Println("文件不存在") }else{ fmt.Printf("%s\n",contents) } fileName := "a. 阅读全文
posted @ 2019-09-23 08:53 paulversion 阅读(405) 评论(0) 推荐(0) 编辑