Skip to content

intdxdt/interprog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intermittent progress

package main 
import (
	"time"
	"github.com/intdxdt/interprog"
)

func main(){
    var prog = interprog.NewInterProg("progress")
    for i := 0; i < 10000; i++ {
        time.Sleep(1 * time.Millisecond) //simulate some work
        prog.update() 
    }
    prog.done()
	
}

About

intermittent progress

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages