diff --git a/go.mod b/go.mod new file mode 100644 index 000000000..84bdc9723 --- /dev/null +++ b/go.mod @@ -0,0 +1,21 @@ +module github.com/schollz/croc + +require ( + github.com/briandowns/spinner v0.0.0-20180822135157-9f016caa1359 + github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575 + github.com/dustin/go-humanize v0.0.0-20180713052910-9f541cc9db5d + github.com/fatih/color v1.7.0 // indirect + github.com/frankenbeanies/uuid4 v0.0.0-20180313125435-68b799ec299a + github.com/gorilla/websocket v1.4.0 + github.com/mars9/crypt v0.0.0-20150406101210-65899cf653ff + github.com/mattn/go-colorable v0.0.9 // indirect + github.com/mattn/go-isatty v0.0.4 // indirect + github.com/pkg/errors v0.8.0 + github.com/schollz/mnemonicode v1.0.1 + github.com/schollz/pake v1.0.2 + github.com/schollz/peerdiscovery v1.2.1 + github.com/schollz/progressbar/v2 v2.5.3 + github.com/tscholl2/siec v0.0.0-20180721101609-21667da05937 + github.com/urfave/cli v1.20.0 + golang.org/x/crypto v0.0.0-20180904163835-0709b304e793 +) diff --git a/src/client.go b/src/client.go index ef8d2460b..e19d68b86 100644 --- a/src/client.go +++ b/src/client.go @@ -18,7 +18,7 @@ import ( "github.com/gorilla/websocket" "github.com/pkg/errors" "github.com/schollz/pake" - "github.com/schollz/progressbar" + "github.com/schollz/progressbar/v2" ) var isPrinted bool diff --git a/src/models.go b/src/models.go index b7ab589fe..b32c7d645 100644 --- a/src/models.go +++ b/src/models.go @@ -9,7 +9,7 @@ import ( "github.com/briandowns/spinner" "github.com/gorilla/websocket" "github.com/schollz/pake" - "github.com/schollz/progressbar" + "github.com/schollz/progressbar/v2" ) const (