mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 15:14:03 +03:00
Updates for go 1.18
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ func (b *baseTelegram) dial(dc conntypes.DC,
|
||||
}
|
||||
|
||||
func (b *baseTelegram) getAddresses(dc conntypes.DC, protocol conntypes.ConnectionProtocol) []string {
|
||||
addresses := make([]string, 0, 2)
|
||||
addresses := make([]string, 0, 2) // nolint: gomnd
|
||||
protos := []conntypes.ConnectionProtocol{
|
||||
conntypes.ConnectionProtocolIPv6,
|
||||
conntypes.ConnectionProtocolIPv4,
|
||||
|
||||
Reference in New Issue
Block a user