Is this behavior by textproto.Writer.DotWriter correct?

47 views
Skip to first unread message

Jonathan

unread,
Aug 23, 2020, 2:53:35 PM8/23/20
to golang-nuts
When a DotWriter is created and closed without any write being done, the buffer contains a CR/LF . CR/LF. When a DotWriter is created and closed with a single write of an empty line, the buffer also contains CR/LF . CR/LF. See:

This seems wrong to me.  If it isn't I think the documentation should note this.

Jonathan

Reply all
Reply to author
Forward
0 new messages