go-sample-webpage/vendor/gopkg.in/mail.v2/mime.go

22 lines
315 B
Go
Raw Normal View History

2021-11-22 22:11:37 +00:00
// +build go1.5
package mail
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
)