From 85ba7f6a0a60d3939df87331d6118b87ab4cf2e7 Mon Sep 17 00:00:00 2001 From: wwqgtxx Date: Tue, 23 Dec 2025 23:14:39 +0800 Subject: [PATCH] chore: change import paths in sudoku code --- go.mod | 3 +-- transport/sudoku/obfs/httpmask/tunnel.go | 7 ++++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 77d59a9a..e4ab66ee 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/metacubex/mihomo go 1.20 require ( + filippo.io/edwards25519 v1.1.0 github.com/bahlo/generic-list-go v0.2.0 github.com/coreos/go-iptables v0.8.0 github.com/dlclark/regexp2 v1.11.5 @@ -64,8 +65,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -require filippo.io/edwards25519 v1.1.0 - require ( github.com/RyuaNerin/go-krypto v1.3.0 // indirect github.com/Yawning/aez v0.0.0-20211027044916-e49e68abd344 // indirect diff --git a/transport/sudoku/obfs/httpmask/tunnel.go b/transport/sudoku/obfs/httpmask/tunnel.go index 3e0b6aa1..65449408 100644 --- a/transport/sudoku/obfs/httpmask/tunnel.go +++ b/transport/sudoku/obfs/httpmask/tunnel.go @@ -5,21 +5,22 @@ import ( "bytes" "context" crand "crypto/rand" - "crypto/tls" "encoding/base64" "errors" "fmt" "io" mrand "math/rand" "net" - "net/http" - "net/http/httputil" "net/url" "os" "strconv" "strings" "sync" "time" + + "github.com/metacubex/http" + "github.com/metacubex/http/httputil" + "github.com/metacubex/tls" ) type TunnelMode string