Skip to content

Commit

Permalink
del
Browse files Browse the repository at this point in the history
  • Loading branch information
guonaihong committed May 23, 2024
1 parent d567305 commit 2a3967b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions client_option_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,6 @@ import (
"golang.org/x/net/proxy"
)

// // 实现安全的net.Conn
// type safeConn struct {
// net.Conn
// sync.Mutex
// }

// func (s *safeConn) Write(b []byte) (n int, err error) {
// s.Lock()
// defer s.Unlock()
// return s.Conn.Write(b)
// }

// func (s *safeConn) Read(b []byte) (n int, err error) {
// s.Lock()
// defer s.Unlock()
// return s.Conn.Read(b)
// }
func Test_ClientOption(t *testing.T) {
t.Run("ClientOption.WithClientHTTPHeader", func(t *testing.T) {
done := make(chan string, 1)
Expand Down

0 comments on commit 2a3967b

Please sign in to comment.