switch to go mod

This commit is contained in:
idk
2019-11-01 18:09:08 -04:00
parent 0ed38ed87a
commit fad4258d3d
5 changed files with 14 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ package cmd
import (
"fmt"
"github.com/urfave/cli"
"github.com/codegangsta/cli"
)
func NewKeygenCommand() cli.Command {

View File

@@ -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"

View File

@@ -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 {

12
go.mod
View File

@@ -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

View File

@@ -5,7 +5,7 @@ import (
"runtime"
"github.com/MDrollette/i2p-tools/cmd"
"github.com/urfave/cli"
"github.com/codegangsta/cli"
)
func main() {