From ac067c1594ca006e889028529150f9298a9ca639 Mon Sep 17 00:00:00 2001 From: Alexandre Cesaro Date: Thu, 2 Jul 2015 23:15:42 +0200 Subject: [PATCH] Renamed export.go into writeto.go --- export.go => writeto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename export.go => writeto.go (98%) diff --git a/export.go b/writeto.go similarity index 98% rename from export.go rename to writeto.go index e238171..1d73319 100644 --- a/export.go +++ b/writeto.go @@ -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)