package main
import (
"time"
"github.com/akshaybharambe14/spinner"
)
func main() {
s := spinner.New(spinner.Default, 5, spinner.NoDuration)
q := make(chan struct{})
go func() {
// work
time.Sleep(time.Second * 5)
// end
q <- struct{}{}
}()
s.Start(q)
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple spinner for golang CLI apps.
License
akshaybharambe14/spinner
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple spinner for golang CLI apps.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published