From 3cc5772c44fbd44f4d639fcd55535717f46d93f3 Mon Sep 17 00:00:00 2001 From: Ali Mosajjal Date: Fri, 19 May 2023 16:57:43 +1200 Subject: [PATCH] fixed links --- acl/override.go | 2 +- dns.go | 2 +- go.mod | 1 - httpproxy.go | 2 +- https.go | 2 +- main.go | 4 ++-- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/acl/override.go b/acl/override.go index 31fc6a8..e90c78c 100644 --- a/acl/override.go +++ b/acl/override.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/knadh/koanf" - dohserver "github.com/mosajjal/sniproxy/dohserver/v2" + dohserver "github.com/mosajjal/sniproxy/v2/dohserver" "github.com/rs/zerolog" "inet.af/tcpproxy" ) diff --git a/dns.go b/dns.go index 9fa434d..46c6c81 100644 --- a/dns.go +++ b/dns.go @@ -11,7 +11,7 @@ import ( "github.com/mosajjal/dnsclient" doqserver "github.com/mosajjal/doqd/pkg/server" - acl "github.com/mosajjal/sniproxy/acl/v2" + acl "github.com/mosajjal/sniproxy/v2/acl" "github.com/rs/zerolog" "github.com/miekg/dns" diff --git a/go.mod b/go.mod index b3c4e62..2e9ad21 100644 --- a/go.mod +++ b/go.mod @@ -40,7 +40,6 @@ require ( github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect - github.com/mosajjal/sniproxy/v2 v2.0.0 // indirect github.com/onsi/ginkgo/v2 v2.9.4 // indirect github.com/patrickmn/go-cache v2.1.0+incompatible // indirect github.com/prometheus/client_model v0.4.0 // indirect diff --git a/httpproxy.go b/httpproxy.go index 2c124dd..6f92892 100644 --- a/httpproxy.go +++ b/httpproxy.go @@ -7,7 +7,7 @@ import ( "strings" "time" - acl "github.com/mosajjal/sniproxy/acl/v2" + acl "github.com/mosajjal/sniproxy/v2/acl" "github.com/rs/zerolog" ) diff --git a/https.go b/https.go index 7ef5b82..58af910 100644 --- a/https.go +++ b/https.go @@ -4,7 +4,7 @@ import ( "fmt" "net" - acl "github.com/mosajjal/sniproxy/acl/v2" + acl "github.com/mosajjal/sniproxy/v2/acl" "github.com/rs/zerolog" "golang.org/x/net/proxy" ) diff --git a/main.go b/main.go index d0f183a..5e53d7e 100644 --- a/main.go +++ b/main.go @@ -32,8 +32,8 @@ import ( "github.com/miekg/dns" "golang.org/x/net/proxy" - acl "github.com/mosajjal/sniproxy/acl/v2" - doh "github.com/mosajjal/sniproxy/dohserver/v2" + acl "github.com/mosajjal/sniproxy/v2/acl" + doh "github.com/mosajjal/sniproxy/v2/dohserver" ) type runConfig struct {