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> |
||
|---|---|---|
| .. | ||
| packet.go | ||
| packet_test.go | ||
| reader.go | ||
| reader_test.go | ||