trufflehog
trufflehog copied to clipboard
[chore] - use read full
Description:
If the amount of data to be read is known ahead of time, it is recommended to use io.ReadFull as it guarantees the number of bytes to be read.
Checklist:
- [ ] Tests passing (
make test-community)? - [ ] Lint passing (
make lintthis requires golangci-lint)?