summaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-11-15 16:25:35 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-11-15 16:25:35 -0500
commit7675ebe9567bd7cae4306f484e3677bf88ba8b55 (patch)
treeabe46762eb9b9a07b0daae0268148c9d76e9fb13 /util.go
parent3744c70711bce0ab92cc47d7fa9a58f7882cc1e5 (diff)
rename files
Diffstat (limited to 'util.go')
-rw-r--r--util.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/util.go b/util.go
deleted file mode 100644
index 0143f48..0000000
--- a/util.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package libfastimport
-
-import (
- "strconv"
-)
-
-type ezfiw struct {
- fiw *FIWriter
- err error
-}
-
-func (e *ezfiw) WriteLine(a ...interface{}) {
- if e.err == nil {
- e.err = e.fiw.WriteLine(a...)
- }
-}
-
-func (e *ezfiw) WriteData(data []byte) {
- if e.err == nil {
- e.err = e.fiw.WriteData(data)
- }
-}
-
-func (e *ezfiw) WriteMark(idnum int) {
- if e.err == nil {
- e.err = e.fiw.WriteLine("mark", ":"+strconv.Itoa(idnum))
- }
-}