Skip to content

sfreiberg/progress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Progress

GoDoc

About

Progress is a go library for creating a live progress bar into slack. Inspiration came from slack-progress.

Demo

Slack Progress Bar

Example

token := "super-secret-slack-token"
channel := "demo"

pbar := progress.New(token, channel, nil)

for i := 0; i <= pbar.Opts.TotalUnits; i++ {
    if err := pbar.Update(i); err != nil {
        log.Printf("Error updating progress bar: %s\n", err)
    }
}

Releases

No releases published

Packages

No packages published

Languages