-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
We need the mime/multipart Writer half. something like.... package multipart // Writer creates new multipart messages. type Writer struct { Boundary string w io.Writer } // NewWriter returns a new Writer with a random boundary. func NewWriter(w io.Writer) *Writer { ... } func (w *Writer) Write(p *Part) os.Error { ... } func (w *Writer) Close() os.Error { } func NewPart(header textproto.MIMEHeader, body io.Reader) *Part { } // NewFilePart is a convenience wrapper around NewPart. func NewFilePart(formName, fileName string, body io.Reader) *Part {