From 7921881ed604dc5d1bf9cdbe57aa7c01f353aa9f Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 2 Apr 2026 11:33:06 +0100 Subject: [PATCH] ax(ueps): rename receiver e to packetErr for AX Principle 1 compliance Single-letter receiver `e` is not in the AX-permitted list (i, _, t, c). Renamed to `packetErr` for predictable naming. Co-Authored-By: Charon --- pkg/ueps/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index 32a6762..4e5eb2d 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -14,7 +14,7 @@ var errTLVValueTooLarge = packetError("TLV value too large for 1-byte length hea type packetError string -func (e packetError) Error() string { return string(e) } +func (packetErr packetError) Error() string { return string(packetErr) } // writeTLV(buffer, TagVersion, []byte{0x09}); writeTLV(buffer, TagHMAC, hmacSignature); buffer.WriteByte(TagPayload) const (