From 2268f3d1bc66d238e8aa029de8a53192daf53687 Mon Sep 17 00:00:00 2001 From: v2ray Date: Fri, 19 Aug 2016 17:05:15 +0200 Subject: [PATCH] remove import path restriction --- common/io/reader.go | 2 +- common/net/net.go | 2 +- proxy/proxy.go | 2 +- proxy/vmess/vmess.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"