文件名称:goterminal:用于更新终端进度的跨平台Go库
文件大小:253KB
文件格式:ZIP
更新时间:2024-02-26 22:51:44
go golang color terminal cross-platform
终端机 跨平台的Go-library,用于更新终端中的进度。 安装 go get -u github.com/apoorvam/goterminal 用法 func main () { // get an instance of writer writer := goterminal . New () for i := 0 ; i < 100 ; i = i + 10 { // add your text to writer's buffer fmt . Fprintf ( writer , "Downloading (%d/
【文件预览】:
goterminal-master
----.gitignore(295B)
----doc.go(126B)
----LICENSE(1KB)
----writer_test.go(252B)
----doc()
--------download_progress.gif(92KB)
--------color_terminal.gif(227KB)
----examples()
--------color_terminal.go(764B)
--------download_progress.go(547B)
----writer.go(1KB)
----README.md(1KB)
----writer_win.go(2KB)
----writer_posix.go(908B)