summaryrefslogtreecommitdiff
path: root/ezfiw.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-11-16 15:30:34 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-11-16 15:30:34 -0500
commitf0ffa10c863345ea3a9a301be035f78af175e17c (patch)
treeaba15bc1cf931c3a897af4abe505d9cacc5ce654 /ezfiw.go
parentc16e4c36d4f5f5f9d6d21f4644b9c38b61159c47 (diff)
use 'string' instead of '[]byte' for data
Diffstat (limited to 'ezfiw.go')
-rw-r--r--ezfiw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezfiw.go b/ezfiw.go
index 03b4622..2cc01b6 100644
--- a/ezfiw.go
+++ b/ezfiw.go
@@ -17,7 +17,7 @@ func (e *ezfiw) WriteLine(a ...interface{}) {
}
}
-func (e *ezfiw) WriteData(data []byte) {
+func (e *ezfiw) WriteData(data string) {
if e.err == nil {
e.err = e.fiw.WriteData(data)
}