From f8faf3c8b8d4b8ef64076da111f30900039848b5 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+rprx@users.noreply.github.com> Date: Fri, 11 Dec 2020 13:05:29 +0800 Subject: [PATCH] Removal: confonly --- app/commander/commander.go | 2 -- app/commander/outbound.go | 2 -- app/commander/service.go | 2 -- app/dispatcher/default.go | 2 -- app/dispatcher/dispatcher.go | 2 -- app/dispatcher/sniffer.go | 2 -- app/dispatcher/stats.go | 2 -- app/dns/dnscommon.go | 2 -- app/dns/dnscommon_test.go | 2 -- app/dns/dohdns.go | 2 -- app/dns/hosts.go | 2 -- app/dns/nameserver.go | 2 -- app/dns/server.go | 2 -- app/dns/udpns.go | 2 -- app/log/command/command.go | 2 -- app/log/log.go | 2 -- app/log/log_creator.go | 2 -- app/proxyman/command/command.go | 2 -- app/reverse/bridge.go | 2 -- app/reverse/config.go | 2 -- app/reverse/portal.go | 2 -- app/reverse/reverse.go | 2 -- app/router/balancing.go | 2 -- app/router/command/command.go | 2 -- app/router/condition.go | 2 -- app/router/condition_geoip.go | 2 -- app/router/config.go | 2 -- app/router/router.go | 2 -- app/stats/channel.go | 2 -- app/stats/command/command.go | 2 -- app/stats/counter.go | 2 -- app/stats/stats.go | 2 -- common/net/connection.go | 2 -- core/config.go | 2 -- core/context.go | 2 -- core/functions.go | 2 -- core/xray.go | 2 -- proxy/blackhole/blackhole.go | 2 -- proxy/dns/dns.go | 2 -- proxy/dokodemo/dokodemo.go | 2 -- proxy/freedom/freedom.go | 2 -- proxy/http/client.go | 2 -- proxy/http/server.go | 2 -- proxy/mtproto/server.go | 2 -- proxy/shadowsocks/client.go | 2 -- proxy/shadowsocks/protocol.go | 2 -- proxy/shadowsocks/server.go | 2 -- proxy/socks/client.go | 2 -- proxy/socks/config.go | 2 -- proxy/socks/protocol.go | 2 -- proxy/socks/server.go | 2 -- proxy/trojan/client.go | 2 -- proxy/trojan/server.go | 2 -- proxy/trojan/validator.go | 2 -- proxy/vless/account.go | 2 -- proxy/vless/encoding/addons.go | 2 -- proxy/vless/encoding/encoding.go | 2 -- proxy/vless/inbound/config.go | 2 -- proxy/vless/inbound/inbound.go | 2 -- proxy/vless/outbound/config.go | 2 -- proxy/vless/outbound/outbound.go | 2 -- proxy/vless/validator.go | 2 -- proxy/vmess/account.go | 2 -- proxy/vmess/inbound/config.go | 2 -- proxy/vmess/inbound/inbound.go | 2 -- proxy/vmess/outbound/command.go | 2 -- proxy/vmess/outbound/outbound.go | 2 -- proxy/vmess/validator.go | 2 -- transport/internet/domainsocket/config.go | 2 -- transport/internet/domainsocket/dial.go | 1 - transport/internet/domainsocket/listener.go | 1 - transport/internet/http/config.go | 2 -- transport/internet/http/dialer.go | 2 -- transport/internet/http/hub.go | 2 -- transport/internet/kcp/config.go | 2 -- transport/internet/kcp/connection.go | 2 -- transport/internet/kcp/crypt.go | 2 -- transport/internet/kcp/dialer.go | 2 -- transport/internet/kcp/io.go | 2 -- transport/internet/kcp/listener.go | 2 -- transport/internet/kcp/output.go | 2 -- transport/internet/kcp/receiving.go | 2 -- transport/internet/kcp/segment.go | 2 -- transport/internet/kcp/sending.go | 2 -- transport/internet/quic/config.go | 2 -- transport/internet/quic/conn.go | 2 -- transport/internet/quic/dialer.go | 2 -- transport/internet/quic/hub.go | 2 -- transport/internet/quic/pool.go | 2 -- transport/internet/quic/quic.go | 2 -- transport/internet/tcp/config.go | 2 -- transport/internet/tcp/dialer.go | 2 -- transport/internet/tcp/hub.go | 2 -- transport/internet/tcp/sockopt_freebsd.go | 1 - transport/internet/tcp/sockopt_other.go | 1 - transport/internet/tls/config.go | 2 -- transport/internet/tls/config_other.go | 1 - transport/internet/tls/config_windows.go | 1 - transport/internet/tls/tls.go | 2 -- transport/internet/websocket/config.go | 2 -- transport/internet/websocket/connection.go | 2 -- transport/internet/websocket/dialer.go | 2 -- transport/internet/websocket/hub.go | 2 -- transport/internet/xtls/config.go | 2 -- transport/internet/xtls/config_other.go | 1 - transport/internet/xtls/config_windows.go | 1 - transport/internet/xtls/xtls.go | 2 -- 107 files changed, 206 deletions(-) diff --git a/app/commander/commander.go b/app/commander/commander.go index dc7a9b9a..666a247c 100644 --- a/app/commander/commander.go +++ b/app/commander/commander.go @@ -1,5 +1,3 @@ -// +build !confonly - package commander //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/commander/outbound.go b/app/commander/outbound.go index dac5982d..3cc48790 100644 --- a/app/commander/outbound.go +++ b/app/commander/outbound.go @@ -1,5 +1,3 @@ -// +build !confonly - package commander import ( diff --git a/app/commander/service.go b/app/commander/service.go index 5b1e1acb..510f321f 100644 --- a/app/commander/service.go +++ b/app/commander/service.go @@ -1,5 +1,3 @@ -// +build !confonly - package commander import ( diff --git a/app/dispatcher/default.go b/app/dispatcher/default.go index 27fb9831..03efd2d2 100644 --- a/app/dispatcher/default.go +++ b/app/dispatcher/default.go @@ -1,5 +1,3 @@ -// +build !confonly - package dispatcher //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/dispatcher/dispatcher.go b/app/dispatcher/dispatcher.go index 521cebbc..2ae48c85 100644 --- a/app/dispatcher/dispatcher.go +++ b/app/dispatcher/dispatcher.go @@ -1,5 +1,3 @@ -// +build !confonly - package dispatcher //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/dispatcher/sniffer.go b/app/dispatcher/sniffer.go index d14481d9..53bc1560 100644 --- a/app/dispatcher/sniffer.go +++ b/app/dispatcher/sniffer.go @@ -1,5 +1,3 @@ -// +build !confonly - package dispatcher import ( diff --git a/app/dispatcher/stats.go b/app/dispatcher/stats.go index 6f7bad9d..8fac0193 100644 --- a/app/dispatcher/stats.go +++ b/app/dispatcher/stats.go @@ -1,5 +1,3 @@ -// +build !confonly - package dispatcher import ( diff --git a/app/dns/dnscommon.go b/app/dns/dnscommon.go index 888c6c04..a9e4b014 100644 --- a/app/dns/dnscommon.go +++ b/app/dns/dnscommon.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/dns/dnscommon_test.go b/app/dns/dnscommon_test.go index 51d37a63..3d21cf16 100644 --- a/app/dns/dnscommon_test.go +++ b/app/dns/dnscommon_test.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/dns/dohdns.go b/app/dns/dohdns.go index 1a1e8b94..a9e3b8bf 100644 --- a/app/dns/dohdns.go +++ b/app/dns/dohdns.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/dns/hosts.go b/app/dns/hosts.go index 7275f2d6..424d3c8c 100644 --- a/app/dns/hosts.go +++ b/app/dns/hosts.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/dns/nameserver.go b/app/dns/nameserver.go index 14d3a217..35f08802 100644 --- a/app/dns/nameserver.go +++ b/app/dns/nameserver.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/dns/server.go b/app/dns/server.go index 6c42911c..667b398e 100644 --- a/app/dns/server.go +++ b/app/dns/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/dns/udpns.go b/app/dns/udpns.go index a285a53b..8dde08e7 100644 --- a/app/dns/udpns.go +++ b/app/dns/udpns.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/app/log/command/command.go b/app/log/command/command.go index d2dd0f5a..834b320c 100644 --- a/app/log/command/command.go +++ b/app/log/command/command.go @@ -1,5 +1,3 @@ -// +build !confonly - package command //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/log/log.go b/app/log/log.go index 629a2420..dc729136 100644 --- a/app/log/log.go +++ b/app/log/log.go @@ -1,5 +1,3 @@ -// +build !confonly - package log //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/log/log_creator.go b/app/log/log_creator.go index dca8b95f..b154168f 100644 --- a/app/log/log_creator.go +++ b/app/log/log_creator.go @@ -1,5 +1,3 @@ -// +build !confonly - package log import ( diff --git a/app/proxyman/command/command.go b/app/proxyman/command/command.go index a7b36159..16246be9 100644 --- a/app/proxyman/command/command.go +++ b/app/proxyman/command/command.go @@ -1,5 +1,3 @@ -// +build !confonly - package command import ( diff --git a/app/reverse/bridge.go b/app/reverse/bridge.go index 19160f4c..32226447 100644 --- a/app/reverse/bridge.go +++ b/app/reverse/bridge.go @@ -1,5 +1,3 @@ -// +build !confonly - package reverse import ( diff --git a/app/reverse/config.go b/app/reverse/config.go index ce70c71b..517b6170 100644 --- a/app/reverse/config.go +++ b/app/reverse/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package reverse import ( diff --git a/app/reverse/portal.go b/app/reverse/portal.go index 460234e4..0b26f9c2 100644 --- a/app/reverse/portal.go +++ b/app/reverse/portal.go @@ -1,5 +1,3 @@ -// +build !confonly - package reverse import ( diff --git a/app/reverse/reverse.go b/app/reverse/reverse.go index 55e24bcc..ec3b6475 100644 --- a/app/reverse/reverse.go +++ b/app/reverse/reverse.go @@ -1,5 +1,3 @@ -// +build !confonly - package reverse //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/router/balancing.go b/app/router/balancing.go index b061fc1f..0f80230b 100644 --- a/app/router/balancing.go +++ b/app/router/balancing.go @@ -1,5 +1,3 @@ -// +build !confonly - package router import ( diff --git a/app/router/command/command.go b/app/router/command/command.go index e38defe4..8bbecc80 100644 --- a/app/router/command/command.go +++ b/app/router/command/command.go @@ -1,5 +1,3 @@ -// +build !confonly - package command //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/router/condition.go b/app/router/condition.go index afbe3345..341cb566 100644 --- a/app/router/condition.go +++ b/app/router/condition.go @@ -1,5 +1,3 @@ -// +build !confonly - package router import ( diff --git a/app/router/condition_geoip.go b/app/router/condition_geoip.go index e9cb0f29..90ad7da7 100644 --- a/app/router/condition_geoip.go +++ b/app/router/condition_geoip.go @@ -1,5 +1,3 @@ -// +build !confonly - package router import ( diff --git a/app/router/config.go b/app/router/config.go index e4c18d54..07167a53 100644 --- a/app/router/config.go +++ b/app/router/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package router import ( diff --git a/app/router/router.go b/app/router/router.go index 2f7a28fc..5d2bdc34 100644 --- a/app/router/router.go +++ b/app/router/router.go @@ -1,5 +1,3 @@ -// +build !confonly - package router //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/stats/channel.go b/app/stats/channel.go index 6dca076d..99f3890c 100644 --- a/app/stats/channel.go +++ b/app/stats/channel.go @@ -1,5 +1,3 @@ -// +build !confonly - package stats import ( diff --git a/app/stats/command/command.go b/app/stats/command/command.go index d6ac705c..77ac8d6f 100644 --- a/app/stats/command/command.go +++ b/app/stats/command/command.go @@ -1,5 +1,3 @@ -// +build !confonly - package command //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/app/stats/counter.go b/app/stats/counter.go index c4e12013..f8373ee7 100644 --- a/app/stats/counter.go +++ b/app/stats/counter.go @@ -1,5 +1,3 @@ -// +build !confonly - package stats import "sync/atomic" diff --git a/app/stats/stats.go b/app/stats/stats.go index 2b4c0803..c82277c3 100644 --- a/app/stats/stats.go +++ b/app/stats/stats.go @@ -1,5 +1,3 @@ -// +build !confonly - package stats //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/common/net/connection.go b/common/net/connection.go index 563d81a3..2429f695 100644 --- a/common/net/connection.go +++ b/common/net/connection.go @@ -1,5 +1,3 @@ -// +build !confonly - package net import ( diff --git a/core/config.go b/core/config.go index 15572e77..2aaec619 100644 --- a/core/config.go +++ b/core/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package core import ( diff --git a/core/context.go b/core/context.go index 78460334..645ed277 100644 --- a/core/context.go +++ b/core/context.go @@ -1,5 +1,3 @@ -// +build !confonly - package core import ( diff --git a/core/functions.go b/core/functions.go index fbc8ca57..e35bdb57 100644 --- a/core/functions.go +++ b/core/functions.go @@ -1,5 +1,3 @@ -// +build !confonly - package core import ( diff --git a/core/xray.go b/core/xray.go index bb41044b..34454011 100644 --- a/core/xray.go +++ b/core/xray.go @@ -1,5 +1,3 @@ -// +build !confonly - package core import ( diff --git a/proxy/blackhole/blackhole.go b/proxy/blackhole/blackhole.go index 526332dc..b17c60c4 100644 --- a/proxy/blackhole/blackhole.go +++ b/proxy/blackhole/blackhole.go @@ -1,5 +1,3 @@ -// +build !confonly - // Package blackhole is an outbound handler that blocks all connections. package blackhole diff --git a/proxy/dns/dns.go b/proxy/dns/dns.go index 89f49209..b424a623 100644 --- a/proxy/dns/dns.go +++ b/proxy/dns/dns.go @@ -1,5 +1,3 @@ -// +build !confonly - package dns import ( diff --git a/proxy/dokodemo/dokodemo.go b/proxy/dokodemo/dokodemo.go index 8f7b70b9..ccc0f974 100644 --- a/proxy/dokodemo/dokodemo.go +++ b/proxy/dokodemo/dokodemo.go @@ -1,5 +1,3 @@ -// +build !confonly - package dokodemo //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/freedom/freedom.go b/proxy/freedom/freedom.go index c0f887a7..edb31d18 100644 --- a/proxy/freedom/freedom.go +++ b/proxy/freedom/freedom.go @@ -1,5 +1,3 @@ -// +build !confonly - package freedom //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/http/client.go b/proxy/http/client.go index 8f8ffa42..11d99690 100644 --- a/proxy/http/client.go +++ b/proxy/http/client.go @@ -1,5 +1,3 @@ -// +build !confonly - package http import ( diff --git a/proxy/http/server.go b/proxy/http/server.go index f7e37b2d..4b894c3b 100644 --- a/proxy/http/server.go +++ b/proxy/http/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package http import ( diff --git a/proxy/mtproto/server.go b/proxy/mtproto/server.go index df3e1439..8812bb6f 100644 --- a/proxy/mtproto/server.go +++ b/proxy/mtproto/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package mtproto import ( diff --git a/proxy/shadowsocks/client.go b/proxy/shadowsocks/client.go index 0a2254ed..06766be1 100644 --- a/proxy/shadowsocks/client.go +++ b/proxy/shadowsocks/client.go @@ -1,5 +1,3 @@ -// +build !confonly - package shadowsocks import ( diff --git a/proxy/shadowsocks/protocol.go b/proxy/shadowsocks/protocol.go index 1f5f4bbc..12ed9b3f 100644 --- a/proxy/shadowsocks/protocol.go +++ b/proxy/shadowsocks/protocol.go @@ -1,5 +1,3 @@ -// +build !confonly - package shadowsocks import ( diff --git a/proxy/shadowsocks/server.go b/proxy/shadowsocks/server.go index 7134fb9c..07316020 100644 --- a/proxy/shadowsocks/server.go +++ b/proxy/shadowsocks/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package shadowsocks import ( diff --git a/proxy/socks/client.go b/proxy/socks/client.go index 568f5d70..f9248de8 100644 --- a/proxy/socks/client.go +++ b/proxy/socks/client.go @@ -1,5 +1,3 @@ -// +build !confonly - package socks import ( diff --git a/proxy/socks/config.go b/proxy/socks/config.go index 1d0ae6ec..3b162abe 100644 --- a/proxy/socks/config.go +++ b/proxy/socks/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package socks import "github.com/xtls/xray-core/common/protocol" diff --git a/proxy/socks/protocol.go b/proxy/socks/protocol.go index ce8e1f22..ca66e336 100644 --- a/proxy/socks/protocol.go +++ b/proxy/socks/protocol.go @@ -1,5 +1,3 @@ -// +build !confonly - package socks import ( diff --git a/proxy/socks/server.go b/proxy/socks/server.go index f947b3d1..fa75f1d6 100644 --- a/proxy/socks/server.go +++ b/proxy/socks/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package socks import ( diff --git a/proxy/trojan/client.go b/proxy/trojan/client.go index 74410d32..4fbca91b 100644 --- a/proxy/trojan/client.go +++ b/proxy/trojan/client.go @@ -1,5 +1,3 @@ -// +build !confonly - package trojan import ( diff --git a/proxy/trojan/server.go b/proxy/trojan/server.go index 7324fb49..1a1f608c 100644 --- a/proxy/trojan/server.go +++ b/proxy/trojan/server.go @@ -1,5 +1,3 @@ -// +build !confonly - package trojan import ( diff --git a/proxy/trojan/validator.go b/proxy/trojan/validator.go index 4279934e..26167e4b 100644 --- a/proxy/trojan/validator.go +++ b/proxy/trojan/validator.go @@ -1,5 +1,3 @@ -// +build !confonly - package trojan import ( diff --git a/proxy/vless/account.go b/proxy/vless/account.go index c6dfdb72..40443424 100644 --- a/proxy/vless/account.go +++ b/proxy/vless/account.go @@ -1,5 +1,3 @@ -// +build !confonly - package vless import ( diff --git a/proxy/vless/encoding/addons.go b/proxy/vless/encoding/addons.go index cc4a7865..8d253b8d 100644 --- a/proxy/vless/encoding/addons.go +++ b/proxy/vless/encoding/addons.go @@ -1,5 +1,3 @@ -// +build !confonly - package encoding import ( diff --git a/proxy/vless/encoding/encoding.go b/proxy/vless/encoding/encoding.go index 22f9e4fc..6c0522f2 100644 --- a/proxy/vless/encoding/encoding.go +++ b/proxy/vless/encoding/encoding.go @@ -1,5 +1,3 @@ -// +build !confonly - package encoding //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/vless/inbound/config.go b/proxy/vless/inbound/config.go index 039be433..71c65bf6 100644 --- a/proxy/vless/inbound/config.go +++ b/proxy/vless/inbound/config.go @@ -1,3 +1 @@ -// +build !confonly - package inbound diff --git a/proxy/vless/inbound/inbound.go b/proxy/vless/inbound/inbound.go index 16ab7cd3..a79455d0 100644 --- a/proxy/vless/inbound/inbound.go +++ b/proxy/vless/inbound/inbound.go @@ -1,5 +1,3 @@ -// +build !confonly - package inbound //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/vless/outbound/config.go b/proxy/vless/outbound/config.go index 35bf561b..a1e73e06 100644 --- a/proxy/vless/outbound/config.go +++ b/proxy/vless/outbound/config.go @@ -1,3 +1 @@ -// +build !confonly - package outbound diff --git a/proxy/vless/outbound/outbound.go b/proxy/vless/outbound/outbound.go index 84c5e199..d7cca719 100644 --- a/proxy/vless/outbound/outbound.go +++ b/proxy/vless/outbound/outbound.go @@ -1,5 +1,3 @@ -// +build !confonly - package outbound //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/vless/validator.go b/proxy/vless/validator.go index 663ba49f..c294ecef 100644 --- a/proxy/vless/validator.go +++ b/proxy/vless/validator.go @@ -1,5 +1,3 @@ -// +build !confonly - package vless import ( diff --git a/proxy/vmess/account.go b/proxy/vmess/account.go index eaf104bc..a95576b9 100644 --- a/proxy/vmess/account.go +++ b/proxy/vmess/account.go @@ -1,5 +1,3 @@ -// +build !confonly - package vmess import ( diff --git a/proxy/vmess/inbound/config.go b/proxy/vmess/inbound/config.go index 25badc45..e4c5fbb3 100644 --- a/proxy/vmess/inbound/config.go +++ b/proxy/vmess/inbound/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package inbound // GetDefaultValue returns default settings of DefaultConfig. diff --git a/proxy/vmess/inbound/inbound.go b/proxy/vmess/inbound/inbound.go index af362e18..ff962e6a 100644 --- a/proxy/vmess/inbound/inbound.go +++ b/proxy/vmess/inbound/inbound.go @@ -1,5 +1,3 @@ -// +build !confonly - package inbound //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/vmess/outbound/command.go b/proxy/vmess/outbound/command.go index 19a7877b..00c6fac5 100644 --- a/proxy/vmess/outbound/command.go +++ b/proxy/vmess/outbound/command.go @@ -1,5 +1,3 @@ -// +build !confonly - package outbound import ( diff --git a/proxy/vmess/outbound/outbound.go b/proxy/vmess/outbound/outbound.go index 56ef4993..8333a105 100644 --- a/proxy/vmess/outbound/outbound.go +++ b/proxy/vmess/outbound/outbound.go @@ -1,5 +1,3 @@ -// +build !confonly - package outbound //go:generate go run github.com/xtls/xray-core/common/errors/errorgen diff --git a/proxy/vmess/validator.go b/proxy/vmess/validator.go index 86089de2..7b81d98f 100644 --- a/proxy/vmess/validator.go +++ b/proxy/vmess/validator.go @@ -1,5 +1,3 @@ -// +build !confonly - package vmess import ( diff --git a/transport/internet/domainsocket/config.go b/transport/internet/domainsocket/config.go index 950246dd..54e3eabe 100644 --- a/transport/internet/domainsocket/config.go +++ b/transport/internet/domainsocket/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package domainsocket import ( diff --git a/transport/internet/domainsocket/dial.go b/transport/internet/domainsocket/dial.go index ea3ad609..91e1941b 100644 --- a/transport/internet/domainsocket/dial.go +++ b/transport/internet/domainsocket/dial.go @@ -1,6 +1,5 @@ // +build !windows // +build !wasm -// +build !confonly package domainsocket diff --git a/transport/internet/domainsocket/listener.go b/transport/internet/domainsocket/listener.go index 25cf75fd..377a0223 100644 --- a/transport/internet/domainsocket/listener.go +++ b/transport/internet/domainsocket/listener.go @@ -1,6 +1,5 @@ // +build !windows // +build !wasm -// +build !confonly package domainsocket diff --git a/transport/internet/http/config.go b/transport/internet/http/config.go index d8139677..cfcc8c08 100644 --- a/transport/internet/http/config.go +++ b/transport/internet/http/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package http import ( diff --git a/transport/internet/http/dialer.go b/transport/internet/http/dialer.go index 610fd8cf..3975935b 100644 --- a/transport/internet/http/dialer.go +++ b/transport/internet/http/dialer.go @@ -1,5 +1,3 @@ -// +build !confonly - package http import ( diff --git a/transport/internet/http/hub.go b/transport/internet/http/hub.go index 712ee6d3..fcbe99be 100644 --- a/transport/internet/http/hub.go +++ b/transport/internet/http/hub.go @@ -1,5 +1,3 @@ -// +build !confonly - package http import ( diff --git a/transport/internet/kcp/config.go b/transport/internet/kcp/config.go index 51630e08..808b1d50 100644 --- a/transport/internet/kcp/config.go +++ b/transport/internet/kcp/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/connection.go b/transport/internet/kcp/connection.go index ce46e931..b0df75f0 100644 --- a/transport/internet/kcp/connection.go +++ b/transport/internet/kcp/connection.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/crypt.go b/transport/internet/kcp/crypt.go index b29da679..0a5930f0 100644 --- a/transport/internet/kcp/crypt.go +++ b/transport/internet/kcp/crypt.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/dialer.go b/transport/internet/kcp/dialer.go index 61b1afd6..9a60efaf 100644 --- a/transport/internet/kcp/dialer.go +++ b/transport/internet/kcp/dialer.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/io.go b/transport/internet/kcp/io.go index dd7aecb3..775f47be 100644 --- a/transport/internet/kcp/io.go +++ b/transport/internet/kcp/io.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/listener.go b/transport/internet/kcp/listener.go index 08d0421b..0c1e1790 100644 --- a/transport/internet/kcp/listener.go +++ b/transport/internet/kcp/listener.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/output.go b/transport/internet/kcp/output.go index 0302048d..30d3e2c5 100644 --- a/transport/internet/kcp/output.go +++ b/transport/internet/kcp/output.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/receiving.go b/transport/internet/kcp/receiving.go index de1c53a0..a75014af 100644 --- a/transport/internet/kcp/receiving.go +++ b/transport/internet/kcp/receiving.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/segment.go b/transport/internet/kcp/segment.go index aa8bfd04..b97d25ea 100644 --- a/transport/internet/kcp/segment.go +++ b/transport/internet/kcp/segment.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/kcp/sending.go b/transport/internet/kcp/sending.go index 67e6790f..ac8e98c1 100644 --- a/transport/internet/kcp/sending.go +++ b/transport/internet/kcp/sending.go @@ -1,5 +1,3 @@ -// +build !confonly - package kcp import ( diff --git a/transport/internet/quic/config.go b/transport/internet/quic/config.go index 79d24682..fe13eec6 100644 --- a/transport/internet/quic/config.go +++ b/transport/internet/quic/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/quic/conn.go b/transport/internet/quic/conn.go index bd9c5366..81033713 100644 --- a/transport/internet/quic/conn.go +++ b/transport/internet/quic/conn.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/quic/dialer.go b/transport/internet/quic/dialer.go index ad332191..f5b94956 100644 --- a/transport/internet/quic/dialer.go +++ b/transport/internet/quic/dialer.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/quic/hub.go b/transport/internet/quic/hub.go index bea6c2ac..b863b303 100644 --- a/transport/internet/quic/hub.go +++ b/transport/internet/quic/hub.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/quic/pool.go b/transport/internet/quic/pool.go index 124daa28..7309147f 100644 --- a/transport/internet/quic/pool.go +++ b/transport/internet/quic/pool.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/quic/quic.go b/transport/internet/quic/quic.go index d11854e8..db1d85b1 100644 --- a/transport/internet/quic/quic.go +++ b/transport/internet/quic/quic.go @@ -1,5 +1,3 @@ -// +build !confonly - package quic import ( diff --git a/transport/internet/tcp/config.go b/transport/internet/tcp/config.go index 46395748..f21b63f6 100644 --- a/transport/internet/tcp/config.go +++ b/transport/internet/tcp/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package tcp import ( diff --git a/transport/internet/tcp/dialer.go b/transport/internet/tcp/dialer.go index 819f7d62..c8fda925 100644 --- a/transport/internet/tcp/dialer.go +++ b/transport/internet/tcp/dialer.go @@ -1,5 +1,3 @@ -// +build !confonly - package tcp import ( diff --git a/transport/internet/tcp/hub.go b/transport/internet/tcp/hub.go index 009b838a..bb8cef46 100644 --- a/transport/internet/tcp/hub.go +++ b/transport/internet/tcp/hub.go @@ -1,5 +1,3 @@ -// +build !confonly - package tcp import ( diff --git a/transport/internet/tcp/sockopt_freebsd.go b/transport/internet/tcp/sockopt_freebsd.go index 88391613..2a87c9e6 100644 --- a/transport/internet/tcp/sockopt_freebsd.go +++ b/transport/internet/tcp/sockopt_freebsd.go @@ -1,5 +1,4 @@ // +build freebsd -// +build !confonly package tcp diff --git a/transport/internet/tcp/sockopt_other.go b/transport/internet/tcp/sockopt_other.go index f21ba52f..ca64e03d 100644 --- a/transport/internet/tcp/sockopt_other.go +++ b/transport/internet/tcp/sockopt_other.go @@ -1,5 +1,4 @@ // +build !linux,!freebsd -// +build !confonly package tcp diff --git a/transport/internet/tls/config.go b/transport/internet/tls/config.go index 856ab595..6d5728cd 100644 --- a/transport/internet/tls/config.go +++ b/transport/internet/tls/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package tls import ( diff --git a/transport/internet/tls/config_other.go b/transport/internet/tls/config_other.go index abc32ed4..3a46792b 100644 --- a/transport/internet/tls/config_other.go +++ b/transport/internet/tls/config_other.go @@ -1,5 +1,4 @@ // +build !windows -// +build !confonly package tls diff --git a/transport/internet/tls/config_windows.go b/transport/internet/tls/config_windows.go index f02f6d26..94b24762 100644 --- a/transport/internet/tls/config_windows.go +++ b/transport/internet/tls/config_windows.go @@ -1,5 +1,4 @@ // +build windows -// +build !confonly package tls diff --git a/transport/internet/tls/tls.go b/transport/internet/tls/tls.go index 3f2af9f9..5704214b 100644 --- a/transport/internet/tls/tls.go +++ b/transport/internet/tls/tls.go @@ -1,5 +1,3 @@ -// +build !confonly - package tls import ( diff --git a/transport/internet/websocket/config.go b/transport/internet/websocket/config.go index 939d4335..948d32c4 100644 --- a/transport/internet/websocket/config.go +++ b/transport/internet/websocket/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package websocket import ( diff --git a/transport/internet/websocket/connection.go b/transport/internet/websocket/connection.go index 5ef2a030..a9b60e8e 100644 --- a/transport/internet/websocket/connection.go +++ b/transport/internet/websocket/connection.go @@ -1,5 +1,3 @@ -// +build !confonly - package websocket import ( diff --git a/transport/internet/websocket/dialer.go b/transport/internet/websocket/dialer.go index b58e341d..5ee0b6cd 100644 --- a/transport/internet/websocket/dialer.go +++ b/transport/internet/websocket/dialer.go @@ -1,5 +1,3 @@ -// +build !confonly - package websocket import ( diff --git a/transport/internet/websocket/hub.go b/transport/internet/websocket/hub.go index aa20640c..f01e91aa 100644 --- a/transport/internet/websocket/hub.go +++ b/transport/internet/websocket/hub.go @@ -1,5 +1,3 @@ -// +build !confonly - package websocket import ( diff --git a/transport/internet/xtls/config.go b/transport/internet/xtls/config.go index d3c21eb0..f2915b6e 100644 --- a/transport/internet/xtls/config.go +++ b/transport/internet/xtls/config.go @@ -1,5 +1,3 @@ -// +build !confonly - package xtls import ( diff --git a/transport/internet/xtls/config_other.go b/transport/internet/xtls/config_other.go index a1dda046..d0940a87 100644 --- a/transport/internet/xtls/config_other.go +++ b/transport/internet/xtls/config_other.go @@ -1,5 +1,4 @@ // +build !windows -// +build !confonly package xtls diff --git a/transport/internet/xtls/config_windows.go b/transport/internet/xtls/config_windows.go index 8c5bf01d..0e74379c 100644 --- a/transport/internet/xtls/config_windows.go +++ b/transport/internet/xtls/config_windows.go @@ -1,5 +1,4 @@ // +build windows -// +build !confonly package xtls diff --git a/transport/internet/xtls/xtls.go b/transport/internet/xtls/xtls.go index 3923d052..10e678de 100644 --- a/transport/internet/xtls/xtls.go +++ b/transport/internet/xtls/xtls.go @@ -1,5 +1,3 @@ -// +build !confonly - package xtls import (