vikunja-api/vendor/gopkg.in/gomail.v2/mime.go

22 lines
317 B
Go
Raw Normal View History

2018-10-27 11:33:28 +02:00
// +build go1.5
package gomail
import (
"mime"
"mime/quotedprintable"
"strings"
)
var newQPWriter = quotedprintable.NewWriter
type mimeEncoder struct {
mime.WordEncoder
}
var (
bEncoding = mimeEncoder{mime.BEncoding}
qEncoding = mimeEncoder{mime.QEncoding}
lastIndexByte = strings.LastIndexByte
)