Renamed export.go into writeto.go
This commit is contained in:
parent
4f6286485b
commit
ac067c1594
|
@ -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)
|
Loading…
Reference in New Issue