Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.28 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.28 KB

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