Run this:
$ go get github.com/ankddev/conemu-progressbar-goThen, import in your code:
import "github.com/ankddev/conemu-progressbar-go"And enjoy!
Functions:
ClearProgressclears progress via sending sequence with 0 state
ClearProgress()SetIndeterminateProgresssets indeterminate progress state
SetIndeterminateProgress()SetProgresssets progress with default state
err := SetProgress(80)
if err != nil {
fmt.Println(err.Error())
}Returns error if progress < 0 or > 100
SetErrorProgresssets progress with error state
err := SetErrorProgress(50)
if err != nil {
fmt.Println(err.Error())
}Returns error if progress < 0 or > 100
SetWarningProgresssets progress with warning state
err := SetWarningProgress(0)
if err != nil {
fmt.Println(err.Error())
}Returns error if progress < 0 or > 100
- Fork repository
- Clone your fork
- Create changes
- Run tests with
$ go test- Commit and push changes
- Create pull request
- codewars-api-rs - Rust library for Codewars API
- envfetch - Lightweight crossplatform CLI tool for working with environment variables
- terminal-go - Go library for working with ANSI/VT terminal sequences
- zapret-discord-youtube - Zapret build for Windows for fixing Discord and YouTube in Russia or othher services