Documentation ¶
Overview ¶
Package input provides helpers to work with user inputs
Package input provides helpers to work with user inputs
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxSecretSize = 4 * 1024
MaxSecretSize specifies how long input read from stdin can be
Functions ¶
func ReadSecret ¶
ReadSecret returns the contents of Stdin as bytes, masking input optionally if reading from a TTY
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.