Mining/pkg/ueps
Claude 9dea4d6ac4
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
ax(ueps): replace errors.Is usage examples with direct sentinel comparison
AX Principle 2 requires comments to show correct usage patterns.
errMissingHMAC and errIntegrityViolation are tlvError sentinels (comparable
values), so the examples should use == not errors.Is from the banned errors
package.

Co-Authored-By: Charon <charon@lethean.io>
2026-04-02 09:05:29 +01:00
..
packet.go ax(ueps): use full variable name in TagHMAC and TagPayload comments 2026-04-02 08:58:53 +01:00
packet_test.go ax(ueps): rename err1/err2 to errorA/errorB per AX predictable-names principle 2026-04-02 09:03:12 +01:00
reader.go ax(ueps): replace errors.Is usage examples with direct sentinel comparison 2026-04-02 09:05:29 +01:00
reader_test.go ax(ueps): strip 11 prose test comments that restate function names 2026-04-02 08:48:01 +01:00