首页 开发技术 其它     /    pb:Golang的控制台进度栏-源码

pb:Golang的控制台进度栏-源码

上传者: weixin_42174098 | 上传时间:2023/9/26 4:08:08 | 文件大小:44KB | 文件类型:ZIP
pb:Golang的控制台进度栏-源码
Go的终端进度栏安装gogetgithub.com/cheggaaa/pb/v3v1栏的文档可快速开始packagemainimport( "time" "github.com/cheggaaa/pb/v3")funcmain(){ count:=100000 //createandstartnewbar bar:=pb.StartNew(count) //startbarfrom'default'template //bar:=pb.Default.Start(count) //startbarfrom'simple'template //bar:=pb.Simple.Start(count) //startbarfrom'full'template //bar:=pb.Full.Start(count) fori:=0;i<count;i++{ bar.Increment() time.Slee

文件下载

资源详情

[{"title":"(50个子文件44KB)pb:Golang的控制台进度栏-源码","children":[{"title":"pb-master","children":[{"title":"pool.go <span style='color:#111;'>1.78KB</span>","children":null,"spread":false},{"title":"runecount_test.go <span style='color:#111;'>508B</span>","children":null,"spread":false},{"title":"v3","children":[{"title":"template.go <span style='color:#111;'>2.09KB</span>","children":null,"spread":false},{"title":"preset.go <span style='color:#111;'>790B</span>","children":null,"spread":false},{"title":"go.mod <span style='color:#111;'>234B</span>","children":null,"spread":false},{"title":"util_test.go <span style='color:#111;'>1.82KB</span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'>1.89KB</span>","children":null,"spread":false},{"title":"io_test.go <span style='color:#111;'>2.27KB</span>","children":null,"spread":false},{"title":"pb.go <span style='color:#111;'>12.35KB</span>","children":null,"spread":false},{"title":"termutil","children":[{"title":"term.go <span style='color:#111;'>987B</span>","children":null,"spread":false},{"title":"term_win.go <span style='color:#111;'>4.43KB</span>","children":null,"spread":false},{"title":"term_plan9.go <span style='color:#111;'>804B</span>","children":null,"spread":false},{"title":"term_x.go <span style='color:#111;'>1.54KB</span>","children":null,"spread":false},{"title":"term_nix.go <span style='color:#111;'>149B</span>","children":null,"spread":false},{"title":"term_solaris.go <span style='color:#111;'>180B</span>","children":null,"spread":false},{"title":"term_appengine.go <span style='color:#111;'>280B</span>","children":null,"spread":false},{"title":"term_bsd.go <span style='color:#111;'>193B</span>","children":null,"spread":false},{"title":"term_linux.go <span style='color:#111;'>158B</span>","children":null,"spread":false}],"spread":true},{"title":"element.go <span style='color:#111;'>7.75KB</span>","children":null,"spread":false},{"title":"pb_test.go <span style='color:#111;'>5.99KB</span>","children":null,"spread":false},{"title":"util.go <span style='color:#111;'>2.22KB</span>","children":null,"spread":false},{"title":"speed.go <span style='color:#111;'>2.02KB</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.44KB</span>","children":null,"spread":false},{"title":"io.go <span style='color:#111;'>1.01KB</span>","children":null,"spread":false},{"title":"element_test.go <span style='color:#111;'>9.44KB</span>","children":null,"spread":false},{"title":"template_test.go <span style='color:#111;'>1.17KB</span>","children":null,"spread":false}],"spread":false},{"title":"go.mod <span style='color:#111;'>212B</span>","children":null,"spread":false},{"title":"example_test.go <span style='color:#111;'>440B</span>","children":null,"spread":false},{"title":"reader.go <span style='color:#111;'>416B</span>","children":null,"spread":false},{"title":"pb_win.go <span style='color:#111;'>4.12KB</span>","children":null,"spread":false},{"title":"termios_bsd.go <span style='color:#111;'>187B</span>","children":null,"spread":false},{"title":"README_V1.md <span style='color:#111;'>3.01KB</span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'>1.68KB</span>","children":null,"spread":false},{"title":"pool_x.go <span style='color:#111;'>546B</span>","children":null,"spread":false},{"title":"pb.go <span style='color:#111;'>11.54KB</span>","children":null,"spread":false},{"title":"pb_appengine.go <span style='color:#111;'>277B</span>","children":null,"spread":false},{"title":"pb_test.go <span style='color:#111;'>3.04KB</span>","children":null,"spread":false},{"title":"pb_x.go <span style='color:#111;'>2.31KB</span>","children":null,"spread":false},{"title":"runecount.go <span style='color:#111;'>364B</span>","children":null,"spread":false},{"title":"termios_sysv.go <span style='color:#111;'>325B</span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'>272B</span>","children":null,"spread":false},{"title":"pb_plan9.go <span style='color:#111;'>1.24KB</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.44KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>2.56KB</span>","children":null,"spread":false},{"title":"writer.go <span style='color:#111;'>418B</span>","children":null,"spread":false},{"title":"format_test.go <span style='color:#111;'>2.11KB</span>","children":null,"spread":false},{"title":"pool_win.go <span style='color:#111;'>691B</span>","children":null,"spread":false},{"title":"example_copy_test.go <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":"format.go <span style='color:#111;'>2.49KB</span>","children":null,"spread":false},{"title":"example_multiple_test.go <span style='color:#111;'>693B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明