Binary package “golang-github-protonmail-go-mime-dev” in ubuntu oracular

Go Mime Wrapper Library (library)

 Provides a parser for MIME messages
 .
 The library can be used to extract the body and attachments from a MIME message
 Example:
 .
 printAccepter := gomime.NewMIMEPrinter()
 bodyCollector := gomime.NewBodyCollector(printAccepter)
 attachmentsCollector := gomime.NewAttachmentsCollector(bodyCollector)
 mimeVisitor := gomime.NewMimeVisitor(attachmentsCollector)
 err := gomime.VisitAll(bytes.NewReader(mmBodyData), h, mimeVisitor)
 attachments := attachmentsCollector.GetAttachments(),
 attachmentsHeaders := attachmentsCollector.GetAttHeaders()
 bodyContent, bodyMimeType := bodyCollector.GetBody()