From a638090d0e5dc513c96f6c86c88f46cae5f0c31e Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Wed, 16 Oct 2024 10:38:40 +0200 Subject: [PATCH] Fix typo in multipart comment Corrected the spelling of "seperately" to "separately" in a comment explaining the parsing of multipart/related and multipart/alternative parts. --- eml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eml.go b/eml.go index 35cd90d..17077a3 100644 --- a/eml.go +++ b/eml.go @@ -383,7 +383,7 @@ ReadNextPart: return fmt.Errorf("failed to get next part of multipart message: %w", err) } for err == nil { - // Multipart/related and Multipart/alternative parts need to be parsed seperately + // Multipart/related and Multipart/alternative parts need to be parsed separately if contentTypeSlice, ok := multiPart.Header[HeaderContentType.String()]; ok && len(contentTypeSlice) == 1 { contentType, _ := parseMultiPartHeader(contentTypeSlice[0]) if strings.EqualFold(contentType, TypeMultipartRelated.String()) ||