diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |
