diff --git a/cmd/genconfig.go b/cmd/genconfig.go index 89a40d1..e5b27f3 100644 --- a/cmd/genconfig.go +++ b/cmd/genconfig.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/niclabs/dtcnode/genconfig" + "github.com/niclabs/dtcnode/v2/genconfig" "github.com/spf13/cobra" ) diff --git a/cmd/serve.go b/cmd/serve.go index 588233d..b9d46cb 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -2,7 +2,7 @@ package cmd import ( "fmt" - "github.com/niclabs/dtcnode/server" + "github.com/niclabs/dtcnode/v2/server" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/genconfig/genconfig.go b/genconfig/genconfig.go index f32aa20..8401b0a 100644 --- a/genconfig/genconfig.go +++ b/genconfig/genconfig.go @@ -2,7 +2,7 @@ package genconfig import ( "fmt" - "github.com/niclabs/dtcnode/config" + "github.com/niclabs/dtcnode/v2/config" "github.com/pebbe/zmq4" "github.com/spf13/viper" "os" diff --git a/go.mod b/go.mod index 6d3bb59..6892e9e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/niclabs/dtcnode +module github.com/niclabs/dtcnode/v2 go 1.12 diff --git a/go.sum b/go.sum index c890a7c..6df8cbd 100644 --- a/go.sum +++ b/go.sum @@ -62,8 +62,6 @@ github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/niclabs/tcrsa v0.0.2 h1:zBMvdqAQVKK47rVn+DCvTFJ+N12XzbVJG+wnhLjbia8= -github.com/niclabs/tcrsa v0.0.2/go.mod h1:ratVlzSF2LkdYLmDDvqwmpQFtHbyZIWTa1J02Ogxw+A= github.com/niclabs/tcrsa v0.0.3 h1:RQUvaPGo0PC8i2xahN8BEDA8y992/GN+vF6awu4D/TY= github.com/niclabs/tcrsa v0.0.3/go.mod h1:ratVlzSF2LkdYLmDDvqwmpQFtHbyZIWTa1J02Ogxw+A= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= diff --git a/main.go b/main.go index cd5b8eb..524b767 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/niclabs/dtcnode/cmd" + "github.com/niclabs/dtcnode/v2/cmd" ) func main() { diff --git a/server/client.go b/server/client.go index b722d09..8c4828f 100644 --- a/server/client.go +++ b/server/client.go @@ -4,7 +4,7 @@ import ( "crypto" "encoding/base64" "fmt" - "github.com/niclabs/dtcnode/message" + "github.com/niclabs/dtcnode/v2/message" "github.com/niclabs/tcrsa" "log" "net" diff --git a/server/node.go b/server/node.go index 38cd31e..0ac6aed 100644 --- a/server/node.go +++ b/server/node.go @@ -3,8 +3,8 @@ package server import ( "encoding/base64" "fmt" - "github.com/niclabs/dtcnode/config" - "github.com/niclabs/dtcnode/message" + "github.com/niclabs/dtcnode/v2/config" + "github.com/niclabs/dtcnode/v2/message" "github.com/niclabs/tcrsa" "github.com/pebbe/zmq4" "github.com/spf13/viper" diff --git a/server/serve.go b/server/serve.go index 189fd8b..4e75e9c 100644 --- a/server/serve.go +++ b/server/serve.go @@ -2,7 +2,7 @@ package server import ( "fmt" - "github.com/niclabs/dtcnode/config" + "github.com/niclabs/dtcnode/v2/config" "github.com/pebbe/zmq4" "github.com/spf13/viper" )