会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
craneboos
博客园
首页
新随笔
联系
管理
订阅
2018年2月6日
go语言中的文件创建,写入,读取,删除
摘要: package main; import ( "os" "fmt" "strconv" ) func main() { //打开文件,返回文件指针 file, error := os.Open("./1.txt"); if error != nil { fmt.Println(error); } f
阅读全文
posted @ 2018-02-06 10:00 craneboos
阅读(415)
评论(0)
推荐(0)
编辑
公告