Skip to content

caarlos0-graveyard/spin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spin

A very simple spinner for cli golang apps.

Release Software License Travis Coverage Status Go Doc Go Report Card SayThanks.io

Example usage:

package main

import (
	"fmt"
	"time"

	"github.com/caarlos0/spin"
)

func main() {
	s := spin.New("%s Working...")
	s.Start()
	defer s.Stop()
	time.Sleep(100 * 20 * time.Millisecond)
}

asciicast