Prompts user that data is awaited on stdin after a short period of time.
Go to file
Laurence Withers cbb8c42e1f Initial import from github 2020-02-10 21:07:43 +00:00
LICENSE Initial import from github 2020-02-10 21:07:43 +00:00
README.md Initial import from github 2020-02-10 21:07:43 +00:00
example_test.go Initial import from github 2020-02-10 21:07:43 +00:00
go.mod Initial import from github 2020-02-10 21:07:43 +00:00
stdinprompt.go Initial import from github 2020-02-10 21:07:43 +00:00
unit_test.go Initial import from github 2020-02-10 21:07:43 +00:00

README.md

src.lwithers.me.uk/go/stdinprompt

GoDoc

This package provides an io.Reader that will prompt the user if no data is available within a short period of time. This can be used to prompt a user that data is awaited on stdin, for example.