diff --git a/backend/backend.go b/backend/backend.go index 790db88..c80841e 100644 --- a/backend/backend.go +++ b/backend/backend.go @@ -2,7 +2,7 @@ package backend import "github.com/miekg/dns" import "github.com/golang/groupcache/lru" -import "github.com/hlandau/madns/merr" +import "gopkg.in/hlandau/madns.v1/merr" import "github.com/hlandau/ncdns/namecoin" import "github.com/hlandau/ncdns/util" import "github.com/hlandau/ncdns/ncdomain" diff --git a/namecoin/namecoin.go b/namecoin/namecoin.go index 475e09c..535753a 100644 --- a/namecoin/namecoin.go +++ b/namecoin/namecoin.go @@ -2,7 +2,7 @@ package namecoin // btcjson had to be modified a bit to get correct error reporting. import "github.com/hlandauf/btcjson" -import "github.com/hlandau/madns/merr" +import "gopkg.in/hlandau/madns.v1/merr" import extratypes "github.com/hlandau/ncbtcjsontypes" import "fmt" diff --git a/server/server.go b/server/server.go index f0d9e2c..d873259 100644 --- a/server/server.go +++ b/server/server.go @@ -1,6 +1,6 @@ package server -import "github.com/hlandau/madns" +import "gopkg.in/hlandau/madns.v1" import "github.com/hlandau/degoutils/log" import "github.com/hlandau/ncdns/backend" import "github.com/hlandau/ncdns/namecoin" diff --git a/util/util.go b/util/util.go index d9ce250..ce94e1d 100644 --- a/util/util.go +++ b/util/util.go @@ -1,7 +1,7 @@ package util import "strings" -import "github.com/hlandau/madns/merr" +import "gopkg.in/hlandau/madns.v1/merr" import "fmt" import "regexp" import "net/mail" diff --git a/util/util_test.go b/util/util_test.go index ad0119d..e726201 100644 --- a/util/util_test.go +++ b/util/util_test.go @@ -2,7 +2,7 @@ package util_test import "testing" import "github.com/hlandau/ncdns/util" -import "github.com/hlandau/madns/merr" +import "gopkg.in/hlandau/madns.v1/merr" type item struct { input string