cheggaaa / pb

Console progress bar for Golang
BSD 3-Clause "New" or "Revised" License
3.64k stars 269 forks source link

Broken gopkg.in/cheggaaa/pb.v3 #155

Closed gmelillo closed 2 years ago

gmelillo commented 4 years ago

I use to import this package from gopkg.in but, checking on the site the v3 is supported but if I try to update keeping gopkg.in I got this nice error:

Command failed: go get -d ./...
go: finding gopkg.in/cheggaaa/pb.v3 v3.0.1
go: gopkg.in/cheggaaa/pb.v3@v3.0.1: go.mod has non-....v3 module path "github.com/cheggaaa/pb" at revision v3.0.1
go: error loading module requirements

There are some way to keep using gopkg?

cheggaaa commented 4 years ago

Sadly, but gopkg and go.mod can't work together. You can look for similar issue https://github.com/mattn/go-colorable/issues/35

Akaame commented 2 years ago

@cheggaaa can you close this as it seems it is a non-issue for this library?