V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
haozibi
V2EX  ›  Go 编程语言

无聊系列[遍历计算文件 md5]

  •  
  •   haozibi · 2016-09-09 21:46:10 +08:00 · 743 次点击
    这是一个创建于 2811 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://github.com/haozibi/Tree

    顺道问一下golang有什么库可以美化终端输出!

    用 Go 写了个遍历目录并计算各个文件 md5 的程序,遍历了一下 C:\Windows


    virusdefender
        1
    virusdefender  
       2016-09-09 22:05:03 +08:00   ❤️ 1
    go 计算 md5 其实可以往深处挖的 https://segmentfault.com/a/1190000006670880
    haozibi
        2
    haozibi  
    OP
       2016-09-09 22:07:07 +08:00
    @virusdefender 非常感谢,正对程序运行速度不满意~
    billlee
        3
    billlee  
       2016-09-10 00:52:42 +08:00
    然而 md5sum 是 I/O 密集应用,并发并没有什么卵用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2695 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:13 · PVG 22:13 · LAX 07:13 · JFK 10:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.