mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-12-25 11:36:26 -05:00
"fixed" lint error
This commit is contained in:
parent
569608295c
commit
5e0b28c09e
@ -182,7 +182,7 @@ func (r *RemoteClientConnection) bytesToJSON(buffer []byte) (string, d2netpacket
|
||||
|
||||
// decodeToPacket unmarshals the JSON string into the correct struct
|
||||
// and returns a NetPacket declaring that struct.
|
||||
// nolint:gocyclo // switch statement on packet type makes sense, no need to change
|
||||
// nolint:gocyclo,funlen // switch statement on packet type makes sense, no need to change
|
||||
func (r *RemoteClientConnection) decodeToPacket(
|
||||
t d2netpackettype.NetPacketType,
|
||||
data string) (d2netpacket.NetPacket, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user