diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-22 22:04:14 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-11-22 22:13:31 -0500 |
commit | 3efa1fc8a98d2d90c204c7bd5a0e2519e1ac7745 (patch) | |
tree | fb78c0b98d24be8d1985af1187f0202c052363d1 /textproto | |
parent | f13250e6a926640c4d0ee858f84fcf8036d612aa (diff) |
split the parser up, and have read methods like write emethods
Diffstat (limited to 'textproto')
-rw-r--r-- | textproto/io.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |