aboutsummaryrefslogtreecommitdiff
path: root/dev.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-24 03:52:12 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-24 03:52:12 +0200
commit13449c468512cd81ec5c05bf77655c22a17b39f0 (patch)
tree3126976a94b5ba9745faab0bab56a04c5877df03 /dev.go
parent09067cfbedb18de674595c56425953afd493c57c (diff)
Device struct
Diffstat (limited to 'dev.go')
-rw-r--r--dev.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev.go b/dev.go
index 000b182..dc1c5b5 100644
--- a/dev.go
+++ b/dev.go
@@ -2,10 +2,15 @@ package robo
import (
"bufio"
+ "io"
"os"
"syscall"
)
+type Device struct {
+ io.ReadWriteCloser
+}
+
// LP represents Line Printer
type LP struct {
*os.File