Skip to content

Commit

Permalink
version 2 for real
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo committed Dec 3, 2019
1 parent 98c1dec commit 51571af
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/genconfig.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/niclabs/dtcnode/genconfig"
"github.com/niclabs/dtcnode/v2/genconfig"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion genconfig/genconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/niclabs/dtcnode
module github.com/niclabs/dtcnode/v2

go 1.12

Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"github.com/niclabs/dtcnode/cmd"
"github.com/niclabs/dtcnode/v2/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions server/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 51571af

Please sign in to comment.