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