payload was declared via var at the top of ReadAndVerify; the inner payloadBytes := io.ReadAll + payload = payloadBytes pattern introduced an unnecessary name that added no semantic value. Assign directly to the outer payload variable instead. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| packet.go | ||
| packet_test.go | ||
| reader.go | ||
| reader_test.go | ||