mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 21:14:01 +03:00
Updates for go 1.18
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ func cloak(one, another io.ReadWriteCloser) {
|
||||
another = rwc.NewPing(ctx, another, channelPing)
|
||||
wg := &sync.WaitGroup{}
|
||||
|
||||
wg.Add(2)
|
||||
wg.Add(2) // nolint: gomnd
|
||||
|
||||
go cloakPipe(one, another, wg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user