Registry / serialization / protonmail-go-mime

protonmail-go-mime

JSON →
library0.0.0-20230322103455-7d82a3887f2fgogounverified

A Go library for parsing and building MIME messages, used by ProtonMail.

go get github.com/ProtonMail/go-mime
INSTALL
IMPORT
SIG · PROTONMAIL-GO-MIME
P
protonmail-go-mime
serializationgov0.0.0-20230322103455-7d82a3887f2f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mime
github.com/ProtonMail/go-mime

Parses a raw MIME message and prints the Subject header.

package main import ( "fmt" "github.com/ProtonMail/go-mime" ) func main() { msg, _ := mime.ParseMessage("From: test@example.com\r\nSubject: Test\r\n\r\nHello") fmt.Println(msg.Header.Get("Subject")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230322103455-7d82a3887f2flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
protonmail-go-mime — go get protonmail-go-mime · libregistry