mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 00:04:02 +03:00
Update to go 1.19
This commit is contained in:
@@ -24,7 +24,7 @@ type ProxyResponse struct {
|
||||
func ParseProxyResponse(packet conntypes.Packet) (*ProxyResponse, error) {
|
||||
var response ProxyResponse
|
||||
|
||||
if len(packet) < 4 { // nolint: gomnd
|
||||
if len(packet) < 4 { //nolint: gomnd
|
||||
return nil, fmt.Errorf("incorrect packet length: %d", len(packet))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user