diff --git a/common/io/reader.go b/common/io/reader.go index a75b772f5..dcaddd451 100644 --- a/common/io/reader.go +++ b/common/io/reader.go @@ -1,4 +1,4 @@ -package io // import "github.com/v2ray/v2ray-core/common/io" +package io import ( "io" diff --git a/common/net/net.go b/common/net/net.go index 5daa36e04..0d07d10d9 100644 --- a/common/net/net.go +++ b/common/net/net.go @@ -1,2 +1,2 @@ // Package net contains common network utilities. -package net // import "github.com/v2ray/v2ray-core/common/net" +package net diff --git a/proxy/proxy.go b/proxy/proxy.go index d6cce0560..84dd17a3b 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -1,5 +1,5 @@ // Package proxy contains all proxies used by V2Ray. -package proxy // import "github.com/v2ray/v2ray-core/proxy" +package proxy import ( "github.com/v2ray/v2ray-core/common/alloc" diff --git a/proxy/vmess/vmess.go b/proxy/vmess/vmess.go index d8e08bbff..8a37a0011 100644 --- a/proxy/vmess/vmess.go +++ b/proxy/vmess/vmess.go @@ -3,7 +3,7 @@ // VMess contains both inbound and outbound connections. VMess inbound is usually used on servers // together with 'freedom' to talk to final destination, while VMess outbound is usually used on // clients with 'socks' for proxying. -package vmess // import "github.com/v2ray/v2ray-core/proxy/vmess" +package vmess import ( "sync"