摘要: 打包文件用到了tar包,其中tar包的用法可以参考API golang提供了个函数用来遍历文件夹 filepath.Walk 函数具体描述如下: func Walk(root string, walkFn WalkFunc) error root是用遍历的文件夹 type WalkFunc type 阅读全文
posted @ 2017-06-02 11:20 留云 阅读(4126) 评论(0) 推荐(0) 编辑