disable gosec in hub connection

This commit is contained in:
9seconds
2019-10-08 14:09:48 +03:00
parent 3ae69183aa
commit d9bd07b027
+1 -1
View File
@@ -95,7 +95,7 @@ func newConnection(req *protocol.TelegramRequest, hub *connectionHub) (*connecti
rv := &connection{ rv := &connection{
conn: conn, conn: conn,
hub: hub, hub: hub,
id: rand.Int(), id: rand.Int(), // nolint: gosec
} }
go rv.run() go rv.run()