From fad4258d3dea3368acbe883a2217f5c7d2b6d538 Mon Sep 17 00:00:00 2001 From: idk Date: Fri, 1 Nov 2019 18:09:08 -0400 Subject: [PATCH] switch to go mod --- cmd/keygen.go | 2 +- cmd/reseed.go | 2 +- cmd/verify.go | 2 +- go.mod | 12 ++++++++++-- main.go | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/cmd/keygen.go b/cmd/keygen.go index 24fc817..020908b 100644 --- a/cmd/keygen.go +++ b/cmd/keygen.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - "github.com/urfave/cli" + "github.com/codegangsta/cli" ) func NewKeygenCommand() cli.Command { diff --git a/cmd/reseed.go b/cmd/reseed.go index f0aaeb9..81e2a93 100644 --- a/cmd/reseed.go +++ b/cmd/reseed.go @@ -11,7 +11,7 @@ import ( "time" "github.com/MDrollette/i2p-tools/reseed" - "github.com/urfave/cli" + "github.com/codegangsta/cli" "github.com/cretz/bine/tor" "github.com/cretz/bine/torutil" "github.com/cretz/bine/torutil/ed25519" diff --git a/cmd/verify.go b/cmd/verify.go index 7c291b3..2cdc900 100644 --- a/cmd/verify.go +++ b/cmd/verify.go @@ -6,7 +6,7 @@ import ( "github.com/MDrollette/i2p-tools/reseed" "github.com/MDrollette/i2p-tools/su3" - "github.com/urfave/cli" + "github.com/codegangsta/cli" ) func NewSu3VerifyCommand() cli.Command { diff --git a/go.mod b/go.mod index caef6d9..4a43a21 100644 --- a/go.mod +++ b/go.mod @@ -4,11 +4,19 @@ go 1.13 require ( github.com/MDrollette/i2p-tools v0.0.0-20171015191648-e7d4585361c2 + github.com/codegangsta/cli v1.22.1 github.com/cretz/bine v0.1.0 + github.com/gomodule/redigo v2.0.0+incompatible // indirect github.com/gorilla/handlers v1.4.2 + github.com/hashicorp/golang-lru v0.5.3 // indirect github.com/justinas/alice v0.0.0-20171023064455-03f45bd4b7da + github.com/stretchr/testify v1.4.0 // indirect github.com/throttled/throttled v2.2.4+incompatible - github.com/urfave/cli v1.22.1 + golang.org/x/crypto v0.0.0-20191029031824-8986dd9e96cf // indirect + golang.org/x/net v0.0.0-20191101175033-0deb6923b6d9 // indirect + gopkg.in/throttled/throttled.v2 v2.2.4 // indirect ) -replace github.com/MDrollette/i2p-tools v0.0.0-20171015191648-e7d4585361c2 => ./ +replace github.com/MDrollette/i2p-tools v0.0.0 => ./ + +replace github.com/codegangsta/cli v1.22.1 => github.com/urfave/cli v1.22.1 diff --git a/main.go b/main.go index fb6c705..5be5540 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "runtime" "github.com/MDrollette/i2p-tools/cmd" - "github.com/urfave/cli" + "github.com/codegangsta/cli" ) func main() {