fix imports

This commit is contained in:
ginuerzh
2022-03-16 20:06:34 +08:00
parent 506142fd0b
commit 36947bcbd9
126 changed files with 324 additions and 335 deletions

View File

@ -12,10 +12,10 @@ import (
"net/url"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
"github.com/go-gost/gost/v3/pkg/logger"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
"github.com/go-gost/core/logger"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -3,7 +3,7 @@ package http2
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
const (

View File

@ -6,9 +6,9 @@ import (
"net"
"strconv"
"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/logger"
"github.com/go-gost/core/common/util/udp"
"github.com/go-gost/core/connector"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
"github.com/go-gost/x/internal/util/mux"
relay_util "github.com/go-gost/x/internal/util/relay"

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/relay"
relay_util "github.com/go-gost/x/internal/util/relay"
)

View File

@ -5,7 +5,7 @@ import (
"net"
"strconv"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
"github.com/go-gost/relay"
"github.com/go-gost/x/internal/util/mux"
)

View File

@ -3,7 +3,7 @@ package relay
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -4,9 +4,9 @@ import (
"context"
"net"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
)
func init() {

View File

@ -3,7 +3,7 @@ package sni
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,11 +6,11 @@ import (
"net"
"time"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"
)

View File

@ -3,7 +3,7 @@ package ss
import (
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -6,9 +6,9 @@ import (
"net"
"time"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
"github.com/go-gost/x/internal/util/relay"
"github.com/go-gost/x/internal/util/ss"
"github.com/shadowsocks/go-shadowsocks2/core"

View File

@ -4,7 +4,7 @@ import (
"math"
"time"
mdata "github.com/go-gost/gost/v3/pkg/metadata"
mdata "github.com/go-gost/core/metadata"
)
type metadata struct {

View File

@ -5,9 +5,9 @@ import (
"errors"
"net"
"github.com/go-gost/gost/v3/pkg/connector"
md "github.com/go-gost/gost/v3/pkg/metadata"
"github.com/go-gost/gost/v3/pkg/registry"
"github.com/go-gost/core/connector"
md "github.com/go-gost/core/metadata"
"github.com/go-gost/core/registry"
ssh_util "github.com/go-gost/x/internal/util/ssh"
)