deb_control_files:
- control
- md5sums
deb_fields:
Architecture: all
Depends: golang-golang-x-text-dev
Description: |-
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()
Homepage: https://github.com/ProtonMail/go-mime
Installed-Size: '75'
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Multi-Arch: foreign
Package: golang-github-protonmail-go-mime-dev
Priority: optional
Section: golang
Source: golang-github-protonmail-go-mime
Version: 0.0~git20230322.7d82a38-2
srcpkg_name: golang-github-protonmail-go-mime
srcpkg_version: 0.0~git20230322.7d82a38-2