没有合适的资源?快使用搜索试试~ 我知道了~
mpb:Go cli应用程序的多进度条
共96个文件
go:67个
mod:20个
svg:3个
需积分: 9 0 下载量 67 浏览量
2021-02-01
09:02:16
上传
评论
收藏 91KB ZIP 举报
温馨提示
多进度条 mpb是一个Go库,用于在终端应用程序中呈现进度条。 产品特点 多个栏:支持多个进度栏 动态总计:栏运行时设置总计 动态添加/删除:动态添加或删除栏 取消:取消整个渲染过程 预定义的装饰器:经过的时间,基于的ETA,百分比,字节计数器 装饰器的宽度同步:多个条之间同步装饰器的宽度 用法 package main import ( "math/rand" "time" "github.com/vbauerster/mpb/v6" "github.com/vbauerster/mpb/v6/decor" ) func main () { // initialize progress container, with custom width p := mpb . New ( mpb . WithWidth ( 64 )) total := 100 name := "Single Bar:" // adding a single bar, which will inherit container's width
资源推荐
资源详情
资源评论
收起资源包目录
mpb-master.zip (96个子文件)
mpb-master
bar.go 12KB
UNLICENSE 1KB
go.mod 283B
container_option.go 3KB
example_test.go 2KB
go.sum 1KB
bar_test.go 5KB
_examples
stress
go.mod 104B
main.go 918B
spinnerBar
go.mod 108B
main.go 2KB
dynTotal
go.mod 106B
main.go 1KB
multiBars
go.mod 107B
main.go 1KB
poplog
go.mod 104B
main.go 1KB
panic
go.mod 103B
main.go 826B
suppressBar
go.mod 152B
main.go 2KB
spinnerDecorator
go.mod 114B
main.go 1KB
io
go.mod 100B
main.go 776B
decoratorsOnTop
go.mod 113B
main.go 910B
barExtender
go.mod 109B
main.go 2KB
merge
go.mod 103B
main.go 2KB
remove
go.mod 104B
main.go 1KB
singleBar
go.mod 107B
main.go 1007B
cancel
go.mod 104B
main.go 1KB
quietMode
go.mod 107B
main.go 2KB
complex
go.mod 105B
main.go 2KB
differentWidth
go.mod 112B
main.go 1KB
.gitignore 7B
reverseBar
go.mod 108B
main.go 1KB
bar_filler_spinner.go 2KB
bar_option.go 4KB
export_test.go 124B
progress.go 9KB
proxyreader.go 2KB
decorators_test.go 4KB
.travis.yml 153B
internal
predicate.go 134B
percentage.go 471B
percentage_test.go 2KB
width.go 251B
barbench_test.go 999B
progress_test.go 4KB
doc.go 94B
bar_filler_bar.go 4KB
README.md 4KB
decor
any.go 381B
on_complete.go 788B
merge.go 2KB
name.go 288B
elapsed.go 762B
moving_average.go 1KB
size_type.go 2KB
sizeb1000_string.go 890B
counters.go 6KB
speed_test.go 5KB
percentage.go 1KB
speed.go 4KB
decorator.go 5KB
doc.go 636B
spinner.go 511B
eta.go 6KB
sizeb1024_string.go 904B
size_type_test.go 4KB
cwriter
util_bsd.go 139B
util_solaris.go 105B
cuuAndEd_construction_bench_test.go 779B
util_linux.go 107B
writer_posix.go 564B
doc.go 90B
writer.go 2KB
writer_windows.go 2KB
bar_filler.go 931B
draw_test.go 8KB
.gitignore 123B
_svg
hIpTa3A5rQz65ssiVuRJu87X6.svg 170KB
wHzf1M7sd7B3zVa2scBMnjqRf.svg 191KB
godEMrCZmJkHYH1X9dN4Nm0U7.svg 65KB
priority_queue.go 603B
proxyreader_test.go 2KB
共 96 条
- 1
资源评论
FranklinZheng
- 粉丝: 26
- 资源: 4567
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功