Renamed export.go into writeto.go

This commit is contained in:
Alexandre Cesaro 2015-07-02 23:15:42 +02:00
parent 4f6286485b
commit ac067c1594
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
"time"
)
// WriteTo implements io.WriterTo.
// WriteTo implements io.WriterTo. It dumps the whole message into w.
func (msg *Message) WriteTo(w io.Writer) (int64, error) {
mw := &messageWriter{w: w}
mw.writeMessage(msg)