Update golangci-lint to 1.44.2

This commit is contained in:
9seconds
2022-03-11 17:08:33 +03:00
parent 2077db1f1e
commit 5282ca26f3
17 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -36,11 +36,11 @@ func (n *EssentialsConnMock) CloseWrite() error {
}
func (n *EssentialsConnMock) LocalAddr() net.Addr {
return n.Called().Get(0).(net.Addr)
return n.Called().Get(0).(net.Addr) // nolint: forcetypeassert
}
func (n *EssentialsConnMock) RemoteAddr() net.Addr {
return n.Called().Get(0).(net.Addr)
return n.Called().Get(0).(net.Addr) // nolint: forcetypeassert
}
func (n *EssentialsConnMock) SetDeadline(t time.Time) error {