Skip to content

Commit 8420957

Browse files
committed
fix(x/net/http): Remove unsused sync.Once
Signed-off-by: hackerchai <i@hackerchai.com>
1 parent e1c3717 commit 8420957

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

x/net/http/request_body.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"errors"
55
"fmt"
66
"io"
7-
"sync"
87

98
"github.com/goplus/llgo/c/libuv"
109
)
@@ -14,7 +13,6 @@ type requestBody struct {
1413
readCh chan []byte
1514
asyncHandle *libuv.Async
1615

17-
once sync.Once
1816
done chan struct{}
1917

2018
rerr error

0 commit comments

Comments
 (0)