update import paths
This commit is contained in:
parent
984e8802f7
commit
b347ed74c5
@ -24,9 +24,9 @@ import (
|
|||||||
|
|
||||||
"github.com/gokrazy/gokrazy"
|
"github.com/gokrazy/gokrazy"
|
||||||
|
|
||||||
"router7/internal/backup"
|
"github.com/rtr7/router7/internal/backup"
|
||||||
"router7/internal/multilisten"
|
"github.com/rtr7/router7/internal/multilisten"
|
||||||
"router7/internal/teelogger"
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log = teelogger.NewConsole()
|
var log = teelogger.NewConsole()
|
||||||
|
@ -26,7 +26,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"router7/internal/multilisten"
|
"github.com/rtr7/router7/internal/multilisten"
|
||||||
|
|
||||||
"github.com/gokrazy/gokrazy"
|
"github.com/gokrazy/gokrazy"
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
|
@ -28,9 +28,9 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"router7/internal/dhcp4"
|
"github.com/rtr7/router7/internal/dhcp4"
|
||||||
"router7/internal/notify"
|
"github.com/rtr7/router7/internal/notify"
|
||||||
"router7/internal/teelogger"
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log = teelogger.NewConsole()
|
var log = teelogger.NewConsole()
|
||||||
|
@ -22,9 +22,9 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"router7/internal/dhcp4d"
|
"github.com/rtr7/router7/internal/dhcp4d"
|
||||||
"router7/internal/notify"
|
"github.com/rtr7/router7/internal/notify"
|
||||||
"router7/internal/teelogger"
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
|
|
||||||
"github.com/krolaw/dhcp4"
|
"github.com/krolaw/dhcp4"
|
||||||
"github.com/krolaw/dhcp4/conn"
|
"github.com/krolaw/dhcp4/conn"
|
||||||
|
@ -23,11 +23,12 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"router7/internal/dhcp6"
|
|
||||||
"router7/internal/notify"
|
|
||||||
"router7/internal/teelogger"
|
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/dhcp6"
|
||||||
|
"github.com/rtr7/router7/internal/notify"
|
||||||
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log = teelogger.NewConsole()
|
var log = teelogger.NewConsole()
|
||||||
|
@ -31,8 +31,8 @@ import (
|
|||||||
|
|
||||||
"github.com/gokrazy/gokrazy"
|
"github.com/gokrazy/gokrazy"
|
||||||
|
|
||||||
"router7/internal/diag"
|
"github.com/rtr7/router7/internal/diag"
|
||||||
"router7/internal/multilisten"
|
"github.com/rtr7/router7/internal/multilisten"
|
||||||
)
|
)
|
||||||
|
|
||||||
var httpListeners = multilisten.NewPool()
|
var httpListeners = multilisten.NewPool()
|
||||||
|
@ -29,10 +29,10 @@ import (
|
|||||||
"github.com/gokrazy/gokrazy"
|
"github.com/gokrazy/gokrazy"
|
||||||
miekgdns "github.com/miekg/dns"
|
miekgdns "github.com/miekg/dns"
|
||||||
|
|
||||||
"router7/internal/dhcp4d"
|
"github.com/rtr7/router7/internal/dhcp4d"
|
||||||
"router7/internal/dns"
|
"github.com/rtr7/router7/internal/dns"
|
||||||
"router7/internal/multilisten"
|
"github.com/rtr7/router7/internal/multilisten"
|
||||||
"router7/internal/netconfig"
|
"github.com/rtr7/router7/internal/netconfig"
|
||||||
|
|
||||||
_ "net/http/pprof"
|
_ "net/http/pprof"
|
||||||
)
|
)
|
||||||
|
@ -30,9 +30,9 @@ import (
|
|||||||
"github.com/prometheus/client_golang/prometheus/promauto"
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
||||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||||
|
|
||||||
"router7/internal/multilisten"
|
"github.com/rtr7/router7/internal/multilisten"
|
||||||
"router7/internal/netconfig"
|
"github.com/rtr7/router7/internal/netconfig"
|
||||||
"router7/internal/teelogger"
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log = teelogger.NewConsole()
|
var log = teelogger.NewConsole()
|
||||||
|
@ -24,8 +24,8 @@ import (
|
|||||||
"os/signal"
|
"os/signal"
|
||||||
"syscall"
|
"syscall"
|
||||||
|
|
||||||
"router7/internal/dhcp6"
|
"github.com/rtr7/router7/internal/dhcp6"
|
||||||
"router7/internal/radvd"
|
"github.com/rtr7/router7/internal/radvd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func logic() error {
|
func logic() error {
|
||||||
|
@ -20,11 +20,12 @@ import (
|
|||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
"router7/internal/teelogger"
|
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
"unsafe"
|
"unsafe"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
|
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -23,8 +23,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"router7/internal/dhcp4"
|
"github.com/rtr7/router7/internal/dhcp4"
|
||||||
"router7/internal/testing/dnsmasq"
|
"github.com/rtr7/router7/internal/testing/dnsmasq"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
@ -21,8 +21,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"router7/internal/dhcp6"
|
"github.com/rtr7/router7/internal/dhcp6"
|
||||||
"router7/internal/testing/dnsmasq"
|
"github.com/rtr7/router7/internal/testing/dnsmasq"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"router7/internal/dns"
|
"github.com/rtr7/router7/internal/dns"
|
||||||
|
|
||||||
miekgdns "github.com/miekg/dns"
|
miekgdns "github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
@ -21,10 +21,11 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
"router7/internal/netconfig"
|
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/netconfig"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
"github.com/google/nftables/expr"
|
"github.com/google/nftables/expr"
|
||||||
)
|
)
|
||||||
|
@ -19,9 +19,10 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"router7/internal/radvd"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/radvd"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -20,8 +20,9 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"router7/internal/backup"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/backup"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestArchive(t *testing.T) {
|
func TestArchive(t *testing.T) {
|
||||||
|
@ -23,7 +23,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"router7/internal/netconfig"
|
"github.com/rtr7/router7/internal/netconfig"
|
||||||
|
|
||||||
"github.com/google/gopacket"
|
"github.com/google/gopacket"
|
||||||
"github.com/google/gopacket/layers"
|
"github.com/google/gopacket/layers"
|
||||||
|
@ -15,9 +15,10 @@
|
|||||||
package diag_test
|
package diag_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"router7/internal/diag"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/diag"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"router7/internal/dhcp4d"
|
"github.com/rtr7/router7/internal/dhcp4d"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
@ -18,9 +18,10 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"router7/internal/dhcp4d"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/dhcp4d"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21,8 +21,9 @@ import (
|
|||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"router7/internal/dhcp6"
|
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/dhcp6"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Listener interface {
|
type Listener interface {
|
||||||
|
@ -33,10 +33,10 @@ import (
|
|||||||
"github.com/vishvananda/netlink"
|
"github.com/vishvananda/netlink"
|
||||||
"golang.org/x/sys/unix"
|
"golang.org/x/sys/unix"
|
||||||
|
|
||||||
"router7/internal/dhcp4"
|
"github.com/rtr7/router7/internal/dhcp4"
|
||||||
"router7/internal/dhcp6"
|
"github.com/rtr7/router7/internal/dhcp6"
|
||||||
"router7/internal/notify"
|
"github.com/rtr7/router7/internal/notify"
|
||||||
"router7/internal/teelogger"
|
"github.com/rtr7/router7/internal/teelogger"
|
||||||
)
|
)
|
||||||
|
|
||||||
var log = teelogger.NewConsole()
|
var log = teelogger.NewConsole()
|
||||||
|
@ -15,10 +15,11 @@
|
|||||||
package dnsmasq_test
|
package dnsmasq_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"router7/internal/testing/dnsmasq"
|
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"github.com/rtr7/router7/internal/testing/dnsmasq"
|
||||||
|
|
||||||
"github.com/google/go-cmp/cmp"
|
"github.com/google/go-cmp/cmp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user