remove unused field

This commit is contained in:
chzyer 2016-09-04 21:05:21 +08:00
parent 6cbf970b0b
commit 31ab3eee0c
1 changed files with 7 additions and 8 deletions

15
std.go
View File

@ -66,14 +66,13 @@ func Line(prompt string) (string, error) {
} }
type CancelableStdin struct { type CancelableStdin struct {
r io.Reader r io.Reader
mutex sync.Mutex mutex sync.Mutex
stop chan struct{} stop chan struct{}
notify chan struct{} notify chan struct{}
data []byte data []byte
read int read int
err error err error
ioloopFired bool
} }
func NewCancelableStdin(r io.Reader) *CancelableStdin { func NewCancelableStdin(r io.Reader) *CancelableStdin {