摘要:
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
阅读(421)
评论(0)
推荐(0)
浙公网安备 33010602011771号