0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-11 11:08:10 +00:00
crazy-max_diun/vendor/github.com/go-gomail/gomail/mime.go
2024-12-14 22:30:21 +01:00

21 lines
317 B
Go

// +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
)