Browse Source

Chore: remove ref annotations

pull/260/head
xjasonlyu 1 year ago
parent
commit
6c07927bba
  1. 2
      common/observable/observable.go
  2. 2
      common/pool/pool.go
  3. 2
      component/simple-obfs/obfs.go
  4. 2
      proxy/http.go
  5. 2
      restapi/server.go
  6. 2
      transport/socks5/socks5.go

2
common/observable/observable.go

@ -1,7 +1,5 @@
package observable
// Ref: github.com/Dreamacro/clash/common/observable
import (
"errors"
"sync"

2
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

2
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

2
proxy/http.go

@ -1,7 +1,5 @@
package proxy
// Ref: https://github.com/Dreamacro/clash/adapter/outbound/http
import (
"bufio"
"context"

2
restapi/server.go

@ -1,7 +1,5 @@
package restapi
// Ref: github.com/Dreamacro/clash/hub/route
import (
"bytes"
"encoding/json"

2
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"

Loading…
Cancel
Save