381 Star 2.5K Fork 621

GVPJohn / gf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gspath.go 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
John 提交于 2018-11-17 02:39 . 初步完成第一阶段的性能改进
package main
import (
"fmt"
"gitee.com/johng/gf/g"
"gitee.com/johng/gf/g/os/gspath"
"gitee.com/johng/gf/g/os/gtime"
"time"
)
func main() {
sp := gspath.New()
path := "/Users/john/Temp"
rp, err := sp.Add(path)
fmt.Println(err)
fmt.Println(rp)
gtime.SetInterval(5*time.Second, func() bool {
g.Dump(sp.AllPaths())
return true
})
select {
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/johng/gf.git
git@gitee.com:johng/gf.git
johng
gf
gf
v1.2.10

搜索帮助

344bd9b3 5694891 D2dac590 5694891