mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 14:01:34 +01:00
21 lines
317 B
Go
Vendored
21 lines
317 B
Go
Vendored
// +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
|
|
)
|