git » dnss » commit 8b25916

Move proto and util packages to internal/

author Alberto Bertogli
2015-10-18 10:49:41 UTC
committer Alberto Bertogli
2015-10-18 10:49:41 UTC
parent da38ce82009c42c2374ec7375ae01c06a9bbbb9c

Move proto and util packages to internal/

The "proto" and "util" packages are internal, move them to the internal/
directory to mark them as such.

dnstogrpc/dnstogrpc.go +2 -2
grpctodns/grpctodns.go +2 -2
{proto => internal/proto}/dnss.pb.go +0 -0
{proto => internal/proto}/dnss.proto +0 -0
{proto => internal/proto}/dummy.go +0 -0
{util => internal/util}/strings.go +0 -0

diff --git a/dnstogrpc/dnstogrpc.go b/dnstogrpc/dnstogrpc.go
index 557044b..7cd0135 100644
--- a/dnstogrpc/dnstogrpc.go
+++ b/dnstogrpc/dnstogrpc.go
@@ -7,8 +7,8 @@ import (
 	"sync"
 	"time"
 
-	pb "blitiri.com.ar/go/dnss/proto"
-	"blitiri.com.ar/go/dnss/util"
+	pb "blitiri.com.ar/go/dnss/internal/proto"
+	"blitiri.com.ar/go/dnss/internal/util"
 	"github.com/golang/glog"
 	"github.com/miekg/dns"
 	"golang.org/x/net/context"
diff --git a/grpctodns/grpctodns.go b/grpctodns/grpctodns.go
index 4b9cfb6..bc78ce3 100644
--- a/grpctodns/grpctodns.go
+++ b/grpctodns/grpctodns.go
@@ -7,8 +7,8 @@ import (
 	"net"
 	"strings"
 
-	pb "blitiri.com.ar/go/dnss/proto"
-	"blitiri.com.ar/go/dnss/util"
+	pb "blitiri.com.ar/go/dnss/internal/proto"
+	"blitiri.com.ar/go/dnss/internal/util"
 	"github.com/golang/glog"
 	"github.com/miekg/dns"
 	"golang.org/x/net/context"
diff --git a/proto/dnss.pb.go b/internal/proto/dnss.pb.go
similarity index 100%
rename from proto/dnss.pb.go
rename to internal/proto/dnss.pb.go
diff --git a/proto/dnss.proto b/internal/proto/dnss.proto
similarity index 100%
rename from proto/dnss.proto
rename to internal/proto/dnss.proto
diff --git a/proto/dummy.go b/internal/proto/dummy.go
similarity index 100%
rename from proto/dummy.go
rename to internal/proto/dummy.go
diff --git a/util/strings.go b/internal/util/strings.go
similarity index 100%
rename from util/strings.go
rename to internal/util/strings.go