Improve golang CI

This commit is contained in:
Aron Wussler 2022-05-17 15:55:27 +02:00
parent 8145690bfd
commit fee9ec19fd
5 changed files with 46 additions and 29 deletions

View file

@ -148,7 +148,7 @@ func (keyRing *KeyRing) NewManualAttachmentProcessor(
return attachmentProc, nil
}
// readAll works a bit like io.ReadAll
// readAll works a bit like ioutil.ReadAll
// but we can choose the buffer to write to
// and we don't grow the slice in case of overflow.
func readAll(buffer []byte, reader io.Reader) (int, error) {