You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before we lock this API down, we should change NewReader to also return a concrete type, so we have a place to put future options & methods, just like *Writer. Otherwise we're locked in. (we've been here before)
There is also a very small bug in the Reader., error messages are sometimes a bit imprecise. See this test.
Currently is the output of the current code and mime/qp is the output of a slightly different algorithm I had done. The code is longer but is a bit faster:
http://tip.golang.org/pkg/mime/quotedprintable/ is a new package for Go 1.5
It adds two function:
func NewWriter(w io.Writer) *Writer
func NewReader(r io.Reader) io.Reader
Before we lock this API down, we should change NewReader to also return a concrete type, so we have a place to put future options & methods, just like *Writer. Otherwise we're locked in. (we've been here before)
/cc @alexcesaro
The text was updated successfully, but these errors were encountered: