Fix linter

This commit is contained in:
Aron Wussler 2022-02-15 11:57:30 +01:00
parent 0854a2ba03
commit 6799f1e8ce

View file

@ -70,7 +70,7 @@ func (ap *AttachmentProcessor) Finish() (*PGPSplitMessage, error) {
// newAttachmentProcessor creates an AttachmentProcessor which can be used to encrypt // newAttachmentProcessor creates an AttachmentProcessor which can be used to encrypt
// a file. It takes an estimatedSize and fileName as hints about the file. // a file. It takes an estimatedSize and fileName as hints about the file.
func (keyRing *KeyRing) newAttachmentProcessor( func (keyRing *KeyRing) newAttachmentProcessor(
estimatedSize int, filename string, isBinary bool, modTime uint32, garbageCollector int, estimatedSize int, filename string, isBinary bool, modTime uint32, garbageCollector int, //nolint:unparam
) (*AttachmentProcessor, error) { ) (*AttachmentProcessor, error) {
attachmentProc := &AttachmentProcessor{} attachmentProc := &AttachmentProcessor{}
// You could also add these one at a time if needed. // You could also add these one at a time if needed.