Documentation ¶
Overview ¶
Package reader provides an object that reads queries from various input sources (e.g. stdin, pipe).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
func NewInteractive ¶
func NewInteractive() *T
NewInteractive returns a T that prompts the user for input.
func NewNonInteractive ¶
func NewNonInteractive() *T
NewNonInteractive returns a T that simply reads input from stdin. Useful for when the user is piping input from a file or another program.
Click to show internal directories.
Click to hide internal directories.