summaryrefslogtreecommitdiff
path: root/work
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-12-09 21:12:18 +0100
committerSilvan Jegen <s.jegen@gmail.com>2016-12-09 21:12:18 +0100
commit26412f3077698dabcdbdf6a6e40276c56a6f74b5 (patch)
treec10ed9b5dbe3612da22247ec6c5afcd1879495eb /work
parent70299d51aeb8dc53a15eb06d46d4d2419619fd47 (diff)
Reorganize files
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
+}