summaryrefslogtreecommitdiff
path: root/work
diff options
context:
space:
mode:
Diffstat (limited to 'work')
-rw-r--r--work/work.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/work/work.go b/work/work.go
new file mode 100644
index 0000000..07461ea
--- /dev/null
+++ b/work/work.go
@@ -0,0 +1,10 @@
+package work
+
+type Work struct {
+ Data []byte
+ Err error
+}
+
+func (w *Work) Error() error {
+ return w.Err
+}