refactor common/util

This commit is contained in:
ginuerzh 2022-03-14 17:54:29 +08:00
parent 5c5af49b0e
commit a7fddd1d7c
9 changed files with 6 additions and 6 deletions

View File

@ -8,8 +8,8 @@ import (
"time" "time"
"github.com/go-gost/gost/v3/pkg/common/net/dialer" "github.com/go-gost/gost/v3/pkg/common/net/dialer"
"github.com/go-gost/gost/v3/pkg/common/util/udp"
"github.com/go-gost/gost/v3/pkg/connector" "github.com/go-gost/gost/v3/pkg/connector"
"github.com/go-gost/gost/v3/pkg/internal/util/udp"
"github.com/go-gost/gost/v3/pkg/logger" "github.com/go-gost/gost/v3/pkg/logger"
) )

View File

@ -6,10 +6,10 @@ import (
"net" "net"
"github.com/go-gost/gosocks5" "github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/util/mux" "github.com/go-gost/gost/v3/pkg/common/util/udp"
"github.com/go-gost/gost/v3/pkg/connector" "github.com/go-gost/gost/v3/pkg/connector"
"github.com/go-gost/gost/v3/pkg/internal/util/mux"
"github.com/go-gost/gost/v3/pkg/internal/util/socks" "github.com/go-gost/gost/v3/pkg/internal/util/socks"
"github.com/go-gost/gost/v3/pkg/internal/util/udp"
"github.com/go-gost/gost/v3/pkg/logger" "github.com/go-gost/gost/v3/pkg/logger"
) )

View File

@ -5,7 +5,7 @@ import (
"net" "net"
"github.com/go-gost/gosocks5" "github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/util/mux" "github.com/go-gost/gost/v3/pkg/internal/util/mux"
"github.com/go-gost/gost/v3/pkg/logger" "github.com/go-gost/gost/v3/pkg/logger"
) )

View File

@ -8,7 +8,7 @@ import (
"github.com/go-gost/gosocks5" "github.com/go-gost/gosocks5"
netpkg "github.com/go-gost/gost/v3/pkg/common/net" netpkg "github.com/go-gost/gost/v3/pkg/common/net"
"github.com/go-gost/gost/v3/pkg/common/util/mux" "github.com/go-gost/gost/v3/pkg/internal/util/mux"
"github.com/go-gost/gost/v3/pkg/logger" "github.com/go-gost/gost/v3/pkg/logger"
) )

View File

@ -4,7 +4,7 @@ import (
"net" "net"
"github.com/go-gost/gost/v3/pkg/common/metrics" "github.com/go-gost/gost/v3/pkg/common/metrics"
"github.com/go-gost/gost/v3/pkg/internal/util/udp" "github.com/go-gost/gost/v3/pkg/common/util/udp"
"github.com/go-gost/gost/v3/pkg/listener" "github.com/go-gost/gost/v3/pkg/listener"
"github.com/go-gost/gost/v3/pkg/logger" "github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata" md "github.com/go-gost/gost/v3/pkg/metadata"