Fix imports due to repository move

©! I, Hugo Landau <hlandau@devever.net>, hereby licence these changes under the
©! licence with SHA256 hash
©! fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc.
pull/20/head
Hugo Landau 7 years ago
parent 1e6ccf7405
commit 4959056021

@ -3,9 +3,9 @@ package backend
import "github.com/miekg/dns"
import "github.com/golang/groupcache/lru"
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"
import "github.com/namecoin/ncdns/namecoin"
import "github.com/namecoin/ncdns/util"
import "github.com/namecoin/ncdns/ncdomain"
import "github.com/hlandau/xlog"
import "sync"
import "fmt"

@ -2,7 +2,7 @@ package main
import (
"github.com/hlandau/dexlogconfig"
"github.com/hlandau/ncdns/server"
"github.com/namecoin/ncdns/server"
"gopkg.in/hlandau/easyconfig.v1"
"gopkg.in/hlandau/service.v2"
"path/filepath"

@ -6,7 +6,7 @@ import "fmt"
import "github.com/miekg/dns"
import "encoding/base64"
import "encoding/hex"
import "github.com/hlandau/ncdns/util"
import "github.com/namecoin/ncdns/util"
import "strings"
import "strconv"

@ -1,7 +1,7 @@
package ncdomain_test
import "github.com/hlandau/ncdns/ncdomain"
import "github.com/hlandau/ncdns/testutil"
import "github.com/namecoin/ncdns/ncdomain"
import "github.com/namecoin/ncdns/testutil"
import _ "github.com/hlandau/nctestsuite"
import "testing"
import "fmt"

@ -1,13 +1,13 @@
package main
import "github.com/hlandau/ncdns/ncdomain"
import "github.com/hlandau/ncdns/namecoin"
import "github.com/namecoin/ncdns/ncdomain"
import "github.com/namecoin/ncdns/namecoin"
import "flag"
import "fmt"
import "os"
import "strconv"
import "io/ioutil"
import "github.com/hlandau/ncdns/util"
import "github.com/namecoin/ncdns/util"
var rpchost = flag.String("rpchost", "", "Namecoin RPC host:port")
var rpcuser = flag.String("rpcuser", "", "Namecoin RPC username")

@ -1,9 +1,9 @@
package main
import "gopkg.in/alecthomas/kingpin.v2"
import "github.com/hlandau/ncdns/ncdomain"
import "github.com/hlandau/ncdns/namecoin"
import "github.com/hlandau/ncdns/util"
import "github.com/namecoin/ncdns/ncdomain"
import "github.com/namecoin/ncdns/namecoin"
import "github.com/namecoin/ncdns/util"
import "github.com/hlandau/xlog"
import "strings"
import "fmt"

@ -4,10 +4,10 @@ import (
"crypto"
"fmt"
"github.com/hlandau/buildinfo"
"github.com/hlandau/ncdns/backend"
"github.com/hlandau/ncdns/namecoin"
"github.com/hlandau/xlog"
"github.com/miekg/dns"
"github.com/namecoin/ncdns/backend"
"github.com/namecoin/ncdns/namecoin"
"gopkg.in/hlandau/madns.v1"
"net"
"os"
@ -68,7 +68,7 @@ func (cfg *Config) cpath(s string) string {
var ncdnsVersion string
func New(cfg *Config) (s *Server, err error) {
ncdnsVersion = buildinfo.VersionSummary("github.com/hlandau/ncdns", "ncdns")
ncdnsVersion = buildinfo.VersionSummary("github.com/namecoin/ncdns", "ncdns")
s = &Server{
cfg: *cfg,

@ -2,8 +2,8 @@ package server
import "net/http"
import "html/template"
import "github.com/hlandau/ncdns/util"
import "github.com/hlandau/ncdns/ncdomain"
import "github.com/namecoin/ncdns/util"
import "github.com/namecoin/ncdns/ncdomain"
import "github.com/miekg/dns"
import "github.com/kr/pretty"
import "path/filepath"

@ -1,7 +1,7 @@
package util_test
import "testing"
import "github.com/hlandau/ncdns/util"
import "github.com/namecoin/ncdns/util"
import "gopkg.in/hlandau/madns.v1/merr"
type item struct {

Loading…
Cancel
Save