mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-19 02:46:35 -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
|
// decodeToPacket unmarshals the JSON string into the correct struct
|
||||||
// and returns a NetPacket declaring that 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(
|
func (r *RemoteClientConnection) decodeToPacket(
|
||||||
t d2netpackettype.NetPacketType,
|
t d2netpackettype.NetPacketType,
|
||||||
data string) (d2netpacket.NetPacket, error) {
|
data string) (d2netpacket.NetPacket, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user