summaryrefslogtreecommitdiff
path: root/ez.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-11-22 22:18:48 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-11-22 22:18:48 -0500
commit640249036f58f79493c9c995f337fc9a2c67c6cb (patch)
treeeec6ade0cde6b41d2626f777a1f1d312330b279b /ez.go
parentc4e844f390aaeabfc3ffe4e28457c8d0c84e934e (diff)
use an interface to avoid specifying *textproto.FIWriter everywhere
Diffstat (limited to 'ez.go')
-rw-r--r--ez.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/ez.go b/ez.go
index 4c220b5..eca3494 100644
--- a/ez.go
+++ b/ez.go
@@ -2,12 +2,10 @@ package libfastimport
import (
"strconv"
-
- "git.lukeshu.com/go/libfastimport/textproto"
)
type ezfiw struct {
- fiw *textproto.FIWriter
+ fiw fiWriter
err error
}