mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-26 05:42:17 +08:00
chore: make lint happy
This commit is contained in:
@@ -8,5 +8,5 @@ var packetPool = pbuf.NewBufferPool[Packet]()
|
||||
|
||||
// selectPacket 从池中取出一个 Packet
|
||||
func selectPacket(buf ...byte) *PacketItem {
|
||||
return (*PacketItem)(packetPool.NewBuffer(buf))
|
||||
return packetPool.NewBuffer(buf)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user