diff --git a/go.mod b/go.mod index cc28d40..66a9c2a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module newt +module github.com/fosrl/newt go 1.23.1 diff --git a/main.go b/main.go index a3d8df1..c12f2d6 100644 --- a/main.go +++ b/main.go @@ -10,15 +10,16 @@ import ( "math/rand" "net" "net/netip" - "newt/logger" - "newt/proxy" - "newt/websocket" "os" "os/signal" "strings" "syscall" "time" + "github.com/fosrl/newt/logger" + "github.com/fosrl/newt/proxy" + "github.com/fosrl/newt/websocket" + "golang.org/x/net/icmp" "golang.org/x/net/ipv4" "golang.zx2c4.com/wireguard/conn" diff --git a/proxy/manager.go b/proxy/manager.go index 3ebedb8..6aa3128 100644 --- a/proxy/manager.go +++ b/proxy/manager.go @@ -4,11 +4,12 @@ import ( "fmt" "io" "net" - "newt/logger" "strings" "sync" "time" + "github.com/fosrl/newt/logger" + "golang.zx2c4.com/wireguard/tun/netstack" ) diff --git a/websocket/client.go b/websocket/client.go index 408b981..167ee75 100644 --- a/websocket/client.go +++ b/websocket/client.go @@ -6,11 +6,12 @@ import ( "fmt" "net/http" "net/url" - "newt/logger" "strings" "sync" "time" + "github.com/fosrl/newt/logger" + "github.com/gorilla/websocket" )