package
Version:
v0.0.0-...-473e0bf
Opens a new window with list of versions in this module.
Published: Jun 10, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ProgressBar(c chan int, size int)
func ScrollBar(c chan int, kind int)
ScrollBar 滚动条
指示当前程序正在运行, 不表示进度信息
当前外部逻辑运行完毕后,close(c)之后, ScrollBar会自行退出
##### Example
```go
c := make(chan int)
go ScrollBar(c, DOT)
time.Sleep(5 * time.Second)
close(c)
```
Source Files
¶
Click to show internal directories.
Click to hide internal directories.