Replace usages of uber/atomic

This commit is contained in:
世界
2023-04-14 20:55:05 +08:00
parent e57b6ae98d
commit 50a7295360
6 changed files with 38 additions and 34 deletions

View File

@@ -1,11 +1,10 @@
package trackerconn
import (
"github.com/sagernet/sing/common/atomic"
"github.com/sagernet/sing/common/buf"
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
"go.uber.org/atomic"
)
func NewPacket(conn N.PacketConn, readCounter []*atomic.Int64, writeCounter []*atomic.Int64) *PacketConn {