From d0d09dfa7fdded6030027050abbcfd2824dfedaf Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Tue, 22 Jun 2021 12:46:20 +0100 Subject: [PATCH] apply coding style --- transport/internet/grpc/dial.go | 3 ++- transport/internet/http/dialer.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/transport/internet/grpc/dial.go b/transport/internet/grpc/dial.go index 40df80a84..58e49ed39 100644 --- a/transport/internet/grpc/dial.go +++ b/transport/internet/grpc/dial.go @@ -4,11 +4,12 @@ package grpc import ( "context" - core "github.com/v2fly/v2ray-core/v4" gonet "net" "sync" "time" + core "github.com/v2fly/v2ray-core/v4" + "google.golang.org/grpc" "google.golang.org/grpc/backoff" "google.golang.org/grpc/connectivity" diff --git a/transport/internet/http/dialer.go b/transport/internet/http/dialer.go index a940c1e0a..ad3664999 100644 --- a/transport/internet/http/dialer.go +++ b/transport/internet/http/dialer.go @@ -5,11 +5,12 @@ package http import ( "context" gotls "crypto/tls" - core "github.com/v2fly/v2ray-core/v4" "net/http" "net/url" "sync" + core "github.com/v2fly/v2ray-core/v4" + "golang.org/x/net/http2" "github.com/v2fly/v2ray-core/v4/common"