feat: set mime type

This commit is contained in:
James Houlahan
2020-07-02 16:31:12 +02:00
parent 2b36d3ab7b
commit 8bd74c5edc
3 changed files with 19 additions and 79 deletions

View File

@ -7,6 +7,13 @@ import (
"github.com/emersion/go-message"
)
// TODO: Set this to something that handles charsets.
func init() { // nolint[gochecknoinits]
message.CharsetReader = func(string, io.Reader) (io.Reader, error) {
panic("not implemented")
}
}
type Parser struct {
stack []*Part
root *Part