stdinprompt/README.md

8 lines
374 B
Markdown

# 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.