...

Source file src/github.com/go-mail/mail/mime.go

Documentation: github.com/go-mail/mail

     1  // +build go1.5
     2  
     3  package mail
     4  
     5  import (
     6  	"mime"
     7  	"mime/quotedprintable"
     8  	"strings"
     9  )
    10  
    11  var newQPWriter = quotedprintable.NewWriter
    12  
    13  type mimeEncoder struct {
    14  	mime.WordEncoder
    15  }
    16  
    17  var (
    18  	bEncoding     = mimeEncoder{mime.BEncoding}
    19  	qEncoding     = mimeEncoder{mime.QEncoding}
    20  	lastIndexByte = strings.LastIndexByte
    21  )
    22  

View as plain text