diff --git a/main/commands/all/verify.go b/main/commands/all/verify.go index a8d8110d0..0fcdfcabc 100644 --- a/main/commands/all/verify.go +++ b/main/commands/all/verify.go @@ -4,6 +4,7 @@ import ( "os" "github.com/v2fly/VSign/signerVerify" + "github.com/v2fly/v2ray-core/v4/main/commands/base" ) diff --git a/testing/mocks/dns.go b/testing/mocks/dns.go index 1961578c4..92c43f6bc 100644 --- a/testing/mocks/dns.go +++ b/testing/mocks/dns.go @@ -9,6 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" + dns "github.com/v2fly/v2ray-core/v4/features/dns" ) diff --git a/testing/mocks/log.go b/testing/mocks/log.go index 436d97e7b..ef357e3fb 100644 --- a/testing/mocks/log.go +++ b/testing/mocks/log.go @@ -8,6 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" + log "github.com/v2fly/v2ray-core/v4/common/log" ) diff --git a/testing/mocks/mux.go b/testing/mocks/mux.go index e22d78798..d6f1139cc 100644 --- a/testing/mocks/mux.go +++ b/testing/mocks/mux.go @@ -8,6 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" + mux "github.com/v2fly/v2ray-core/v4/common/mux" ) diff --git a/testing/mocks/outbound.go b/testing/mocks/outbound.go index ec576b1c8..5c91d757c 100644 --- a/testing/mocks/outbound.go +++ b/testing/mocks/outbound.go @@ -9,6 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" + outbound "github.com/v2fly/v2ray-core/v4/features/outbound" ) diff --git a/testing/mocks/proxy.go b/testing/mocks/proxy.go index 0b625fc64..c01239bfc 100644 --- a/testing/mocks/proxy.go +++ b/testing/mocks/proxy.go @@ -9,6 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" + net "github.com/v2fly/v2ray-core/v4/common/net" routing "github.com/v2fly/v2ray-core/v4/features/routing" transport "github.com/v2fly/v2ray-core/v4/transport" diff --git a/v2ray_test.go b/v2ray_test.go index 023a02ad8..5bec5b2c1 100644 --- a/v2ray_test.go +++ b/v2ray_test.go @@ -1,9 +1,10 @@ package core_test import ( - "google.golang.org/protobuf/proto" "testing" + "google.golang.org/protobuf/proto" + . "github.com/v2fly/v2ray-core/v4" "github.com/v2fly/v2ray-core/v4/app/dispatcher" "github.com/v2fly/v2ray-core/v4/app/proxyman"