From d9bd07b027f46a8d8e87611f8fd7ed70fb26811c Mon Sep 17 00:00:00 2001 From: 9seconds Date: Tue, 8 Oct 2019 14:09:48 +0300 Subject: [PATCH] disable gosec in hub connection --- hub/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/connection.go b/hub/connection.go index 751fc3c..ba317fb 100644 --- a/hub/connection.go +++ b/hub/connection.go @@ -95,7 +95,7 @@ func newConnection(req *protocol.TelegramRequest, hub *connectionHub) (*connecti rv := &connection{ conn: conn, hub: hub, - id: rand.Int(), + id: rand.Int(), // nolint: gosec } go rv.run()