From 6c07927bba5911b1fb6ed574039c2152f808694f Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Thu, 18 May 2023 21:15:04 +0800 Subject: [PATCH] Chore: remove ref annotations --- common/observable/observable.go | 2 -- common/pool/pool.go | 2 -- component/simple-obfs/obfs.go | 2 -- proxy/http.go | 2 -- restapi/server.go | 2 -- transport/socks5/socks5.go | 2 -- 6 files changed, 12 deletions(-) diff --git a/common/observable/observable.go b/common/observable/observable.go index bf0a1e9..5caaf69 100644 --- a/common/observable/observable.go +++ b/common/observable/observable.go @@ -1,7 +1,5 @@ package observable -// Ref: github.com/Dreamacro/clash/common/observable - import ( "errors" "sync" diff --git a/common/pool/pool.go b/common/pool/pool.go index fa87e14..b85e444 100644 --- a/common/pool/pool.go +++ b/common/pool/pool.go @@ -1,8 +1,6 @@ // Package pool provides a pool of []byte. package pool -// Ref: github.com/Dreamacro/clash/common/pool - const ( // MaxSegmentSize is the largest possible UDP datagram size. MaxSegmentSize = (1 << 16) - 1 diff --git a/component/simple-obfs/obfs.go b/component/simple-obfs/obfs.go index f041d57..b6a4ea9 100644 --- a/component/simple-obfs/obfs.go +++ b/component/simple-obfs/obfs.go @@ -1,4 +1,2 @@ // Package obfs provides obfuscation functionality for Shadowsocks protocol. package obfs - -// Ref: github.com/Dreamacro/clash/component/simple-obfs diff --git a/proxy/http.go b/proxy/http.go index 8acdfed..6cc9ce8 100644 --- a/proxy/http.go +++ b/proxy/http.go @@ -1,7 +1,5 @@ package proxy -// Ref: https://github.com/Dreamacro/clash/adapter/outbound/http - import ( "bufio" "context" diff --git a/restapi/server.go b/restapi/server.go index 8c49504..3db92e4 100644 --- a/restapi/server.go +++ b/restapi/server.go @@ -1,7 +1,5 @@ package restapi -// Ref: github.com/Dreamacro/clash/hub/route - import ( "bytes" "encoding/json" diff --git a/transport/socks5/socks5.go b/transport/socks5/socks5.go index 0bd7876..04ad4e0 100644 --- a/transport/socks5/socks5.go +++ b/transport/socks5/socks5.go @@ -1,8 +1,6 @@ // Package socks5 provides SOCKS5 client functionalities. package socks5 -// Ref: github.com/Dreamacro/clash/component/socks5 - import ( "bytes" "encoding/binary"