mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 19:14:01 +03:00
Update golangci-lint to 1.44.2
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user