Skip to content

A minimal loading wheel utility to display on the console

Notifications You must be signed in to change notification settings

austintraver/loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loading

The loading package is a minimal package, built to provide command-line interfaces with the ability to present a simple loading wheel to display to users on their console. As time passes, the console will be updated, simulating a "spinning" animation.

Installation

go get github.com/austintraver/loading

Usage

package main

import (
	"time"
	
	"github.com/austintraver/loading"
)

func main() {
    wheel := loading.New("%s Initializing...")
    wheel.Start()
    time.Sleep(5 * time.Second)
}

About

A minimal loading wheel utility to display on the console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages