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

@ -1,5 +1,5 @@
syntax = "proto3";
option go_package = "github.com/go-gost/gost/v3/pkg/common/util/grpc/proto";
option go_package = "github.com/go-gost/core/common/util/grpc/proto";
message Chunk {
bytes data = 1;

View File

@ -8,8 +8,8 @@ import (
"net"
"sync/atomic"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/logger"
"golang.org/x/net/icmp"
"golang.org/x/net/ipv4"
)

View File

@ -11,7 +11,7 @@ import (
"strconv"
"strings"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
)
type Client struct {

View File

@ -10,7 +10,7 @@ import (
"net/http/httputil"
"time"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/logger"
)
type clientConn struct {

View File

@ -14,8 +14,8 @@ import (
"sync"
"time"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
"github.com/go-gost/gost/v3/pkg/logger"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/core/logger"
"github.com/lucas-clemente/quic-go"
"github.com/lucas-clemente/quic-go/http3"
"github.com/rs/xid"

View File

@ -4,8 +4,8 @@ import (
"bytes"
"net"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
)
type udpTunConn struct {

View File

@ -4,8 +4,8 @@ import (
"bytes"
"net"
"github.com/go-gost/core/common/bufpool"
"github.com/go-gost/gosocks5"
"github.com/go-gost/gost/v3/pkg/common/bufpool"
)
var (

View File

@ -5,7 +5,7 @@ import (
"fmt"
"io/ioutil"
"github.com/go-gost/gost/v3/pkg/auth"
"github.com/go-gost/core/auth"
"golang.org/x/crypto/ssh"
)