1
0
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:
源文雨
2025-03-12 22:24:16 +09:00
parent f4fd9b1423
commit c2dd7b5d05
5 changed files with 12 additions and 12 deletions

View File

@@ -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)
}