mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
feat: set mime type
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user