style: ASCII-пунктуация

This commit is contained in:
samosvalishe committed 2026-06-17 10:03:41 +03:00
1 parent 69a68bbc31
commit e503aaee33
45 files changed
+140 -140

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
// BiCopy запускает io.Copy в обе стороны между c1 и c2; возвращает
// (bytesC1FromC2, bytesC2FromC1). Как только одна копия завершилась
// (EOF/ошибка/cancel) — обоим концам выставляется deadline=time.Now(),
// (EOF/ошибка/cancel) - обоим концам выставляется deadline=time.Now(),
// чтобы разблокировать парную горутину. Ошибки уходят в errf, если он не nil.
func BiCopy(ctx context.Context, c1, c2 net.Conn, errf func(format string, v ...any)) (int64, int64) {
ctx2, cancel := context.WithCancel(ctx)