Skip to content

Commit

Permalink
chore: up-version module
Browse files Browse the repository at this point in the history
  • Loading branch information
hexnaught committed Aug 11, 2022
1 parent e5d1c4a commit 2963646
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions README.md
@@ -1,20 +1,23 @@
# progressbar

[![CI](https://github.com/schollz/progressbar/actions/workflows/ci.yml/badge.svg?branch=master&event=push)](https://github.com/schollz/progressbar/actions/workflows/ci.yml)
[![go report card](https://goreportcard.com/badge/github.com/schollz/progressbar)](https://goreportcard.com/report/github.com/schollz/progressbar)
[![go report card](https://goreportcard.com/badge/github.com/schollz/progressbar)](https://goreportcard.com/report/github.com/schollz/progressbar)
[![coverage](https://img.shields.io/badge/coverage-84%25-brightgreen.svg)](https://gocover.io/github.com/schollz/progressbar)
[![godocs](https://godoc.org/github.com/schollz/progressbar?status.svg)](https://godoc.org/github.com/schollz/progressbar/v3)
[![godocs](https://godoc.org/github.com/schollz/progressbar?status.svg)](https://godoc.org/github.com/schollz/progressbar/v3)

A very simple thread-safe progress bar which should work on every OS without problems. I needed a progressbar for [croc](https://github.com/schollz/croc) and everything I tried had problems, so I made another one. In order to be OS agnostic I do not plan to support [multi-line outputs](https://github.com/schollz/progressbar/issues/6).

## Requires

Progressbar V4 requires Go version v1.18 or later.

## Install

```
go get -u github.com/schollz/progressbar/v3
```

## Usage
## Usage

### Basic usage

Expand Down
2 changes: 1 addition & 1 deletion examples/basic/main.go
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/schollz/progressbar/v3"
"github.com/schollz/progressbar/v4"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/customization/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/k0kubun/go-ansi"
"github.com/schollz/progressbar/v3"
"github.com/schollz/progressbar/v4"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/download-unknown/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"os"

"github.com/schollz/progressbar/v3"
"github.com/schollz/progressbar/v4"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/download/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"os"

"github.com/schollz/progressbar/v3"
"github.com/schollz/progressbar/v4"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/pacman/main.go
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/k0kubun/go-ansi"
"github.com/schollz/progressbar/v3"
"github.com/schollz/progressbar/v4"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
@@ -1,4 +1,4 @@
module github.com/schollz/progressbar/v3
module github.com/schollz/progressbar/v4

require (
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
Expand Down

0 comments on commit 2963646

Please sign in to comment.