mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 17:44:02 +03:00
Run gofumpt
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"net"
|
||||
)
|
||||
|
||||
func InitTCP(conn net.Conn, readBufferSize int, writeBufferSize int) error {
|
||||
func InitTCP(conn net.Conn, readBufferSize, writeBufferSize int) error {
|
||||
tcpConn := conn.(*net.TCPConn) // nolint: forcetypeassert
|
||||
|
||||
if err := tcpConn.SetNoDelay(true); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user