1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

Chore: format code by new customized goimports (#950)

This commit is contained in:
Loyalsoldier 2021-05-01 11:15:39 +08:00 committed by GitHub
parent 0fe129de65
commit 625a15e03b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 13 deletions

View File

@ -9,13 +9,12 @@ import (
"net/http"
"time"
"github.com/v2fly/v2ray-core/v4/features/extension"
"github.com/v2fly/BrowserBridge/handler"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/common/net"
"github.com/v2fly/v2ray-core/v4/common/platform/securedload"
"github.com/v2fly/v2ray-core/v4/features/extension"
"github.com/v2fly/v2ray-core/v4/transport/internet"
)

View File

@ -1,9 +1,8 @@
package fakedns
import (
"testing"
gonet "net"
"testing"
"github.com/stretchr/testify/assert"

View File

@ -9,10 +9,9 @@ import (
"sync/atomic"
"time"
core "github.com/v2fly/v2ray-core/v4"
"golang.org/x/net/dns/dnsmessage"
core "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/common/net"
"github.com/v2fly/v2ray-core/v4/common/protocol/dns"

View File

@ -6,9 +6,8 @@ import (
"context"
core "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/app/observatory"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/features/extension"
)

View File

@ -6,7 +6,6 @@ import (
"os"
commlog "github.com/v2fly/v2ray-core/v4/common/log"
// _ "github.com/v2fly/v2ray-core/v4/infra/conf/command"
"github.com/v2fly/v2ray-core/v4/infra/control"
)

View File

@ -3,7 +3,6 @@ package http
import (
"bufio"
"net/http"
_ "unsafe" // required to use //go:linkname
)

View File

@ -9,14 +9,13 @@ import (
"io"
"time"
"github.com/v2fly/v2ray-core/v4/features/extension"
"github.com/gorilla/websocket"
core "github.com/v2fly/v2ray-core/v4"
core "github.com/v2fly/v2ray-core/v4"
"github.com/v2fly/v2ray-core/v4/common"
"github.com/v2fly/v2ray-core/v4/common/net"
"github.com/v2fly/v2ray-core/v4/common/session"
"github.com/v2fly/v2ray-core/v4/features/extension"
"github.com/v2fly/v2ray-core/v4/transport/internet"
"github.com/v2fly/v2ray-core/v4/transport/internet/tls"
)