summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/structs.go b/structs.go
index c250fcf..bf31186 100644
--- a/structs.go
+++ b/structs.go
@@ -27,7 +27,8 @@ type File struct {
Fnbreader *nbreader.NBReader // := nbreader.NewNBReader(readOUT, 1024)
}
-type Shell struct {
+// early code playground
+type OldShell struct {
Cmdline string
Process *exec.Cmd
Done bool
@@ -45,9 +46,9 @@ type Shell struct {
Stderr *File
}
-// default values for Shell
-func New() *Shell {
- var tmp Shell
+// default values for OldShell
+func New() *OldShell {
+ var tmp OldShell
tmp.Done = false
tmp.Fail = false