MCPcopy Index your code
hub / github.com/emersion/go-message

github.com/emersion/go-message @v0.18.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.18.2 ↗ · + Follow
333 symbols 1,208 edges 34 files 140 documented · 42% 18 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

go-message

Go Reference

A Go library for the Internet Message Format. It implements:

Features

  • Streaming API
  • Automatic encoding and charset handling (to decode all charsets, add import _ "github.com/emersion/go-message/charset" to your application)
  • A mail subpackage to read and write mail messages
  • DKIM-friendly
  • A textproto subpackage that just implements the wire format

License

MIT

Extension points exported contracts — how you extend this code

MultipartReader (Interface)
MultipartReader is an iterator over parts in a MIME multipart body. [4 implementers]
multipart.go
PartHeader (Interface)
A PartHeader is a mail part header. It contains convenience functions to get and set header fields. [1 implementers]
mail/reader.go
HeaderFields (Interface)
HeaderFields iterates over header fields.
header.go
WalkFunc (FuncType)
WalkFunc is the type of the function called for each part visited by Walk. The path argument is a list of multipart ind
entity.go
HeaderFields (Interface)
HeaderFields iterates over header fields. Its cursor starts before the first field of the header. Use Next to advance fr
textproto/header.go

Core symbols most depended-on inside this repo

Error
called by 46
charset.go
Set
called by 26
textproto/header.go
NextPart
called by 19
textproto/multipart.go
Set
called by 19
mail/reader.go
Close
called by 16
mail/reader.go
Get
called by 15
mail/reader.go
NextPart
called by 13
multipart.go
Next
called by 13
textproto/header.go

Shape

Function 167
Method 124
Struct 37
Interface 4
FuncType 1

Languages

Go100%

Modules by API surface

textproto/header.go57 symbols
mail/header.go31 symbols
textproto/multipart_test.go29 symbols
textproto/multipart.go27 symbols
entity_test.go23 symbols
textproto/header_test.go21 symbols
header.go17 symbols
mail/writer.go14 symbols
entity.go14 symbols
encoding.go13 symbols
mail/reader.go11 symbols
multipart.go10 symbols

For agents

$ claude mcp add go-message \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact