mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:24:02 +03:00
disable gosec in hub connection
This commit is contained in:
+1
-1
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user