没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
progress io.Reader和io.Writer以及进度和剩余时间估计。 用法 ctx := context . Background () // get a reader and the total expected number of bytes s := `Now that's what I call progress` size := len ( s ) r := progress . NewReader ( strings . NewReader ( s )) // Start a goroutine printing progress go func () { ctx := context . Background () progressChan := progress . NewTicker ( ctx , r , size , 1 * time . Secon
资源推荐
资源详情
资源评论
收起资源包目录
progress-master.zip (11个子文件)
progress-master
.travis.yml 85B
reader.go 792B
reader_test.go 709B
example
download
main.go 1KB
progress_test.go 3KB
writer.go 797B
progress.go 4KB
writer_test.go 631B
LICENSE 11KB
.gitignore 275B
README.md 1KB
共 11 条
- 1
资源评论
愛幻想的小水瓶
- 粉丝: 28
- 资源: 4547
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功