stdinprompt/README.md

8 lines
374 B
Markdown
Raw Permalink Normal View History

2020-02-10 21:07:43 +00:00
# src.lwithers.me.uk/go/stdinprompt
[![GoDoc](https://img.shields.io/static/v1?label=godoc&message=reference&color=blue)](https://pkg.go.dev/src.lwithers.me.uk/go/stdinprompt)
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.