mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:54:01 +03:00
Update golangci-lint
This commit is contained in:
+3
-3
@@ -110,9 +110,9 @@ const (
|
||||
// This knowledge is encapsulated into instances of such interface.
|
||||
//
|
||||
// mtglib uses Network for:
|
||||
// 1. Dialing to Telegram
|
||||
// 2. Dialing to front domain
|
||||
// 3. Doing HTTP requests (for example, for FireHOL ipblocklist).
|
||||
// 1. Dialing to Telegram
|
||||
// 2. Dialing to front domain
|
||||
// 3. Doing HTTP requests (for example, for FireHOL ipblocklist).
|
||||
type Network interface {
|
||||
// Dial establishes context-free TCP connections.
|
||||
Dial(network, address string) (essentials.Conn, error)
|
||||
|
||||
Reference in New Issue
Block a user