From 3efa1fc8a98d2d90c204c7bd5a0e2519e1ac7745 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 22 Nov 2017 22:04:14 -0500 Subject: split the parser up, and have read methods like write emethods --- textproto/io.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'textproto') diff --git a/textproto/io.go b/textproto/io.go index 8350021..09f36d7 100644 --- a/textproto/io.go +++ b/textproto/io.go @@ -10,6 +10,9 @@ import ( type FIReader struct { r *bufio.Reader + + line *string + err error } func NewFIReader(r io.Reader) *FIReader { -- cgit v1.2.3