This PR enable go mod support and moves v2 to master as v3.
I don't know a more elegant way in order not to break backward compatibility.
v1 remains available as "github.com/cheggaaa/pb" and "gopkg.in/cheggaaa/pb.v1" and works well for go versions below 1.11
v2 moves to v3 and stay available only as "gopkg.in/cheggaaa/pb.v2"
v3 it's v2 with go mod support, import looks as "github.com/cheggaaa/pb/v3"
This PR enable go mod support and moves v2 to master as v3. I don't know a more elegant way in order not to break backward compatibility.
v1 remains available as "github.com/cheggaaa/pb" and "gopkg.in/cheggaaa/pb.v1" and works well for go versions below 1.11 v2 moves to v3 and stay available only as "gopkg.in/cheggaaa/pb.v2" v3 it's v2 with go mod support, import looks as "github.com/cheggaaa/pb/v3"