Update golangci-linter

This commit is contained in:
9seconds
2021-02-26 00:52:09 +03:00
parent 91197c0334
commit 33b1a5426c
21 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ type connection struct {
channelConnDetach chan conntypes.ConnID
}
func (c *connection) run() {
func (c *connection) run() { // nolint: cyclop
defer c.Close()
ttl := time.NewTimer(connectionTTL)