Documentation ¶ Overview ¶ Package stdio implements standard input/output functions. Index ¶ Variables func Prompt(s string) string func Read() string func Write(s string, v ...any) Constants ¶ This section is empty. Variables ¶ View Source var ( // Reader is the default standard input Reader. Reader = bufio.NewReader(os.Stdin) // Writer is the default standard output Writer. Writer = bufio.NewWriter(os.Stdout) ) Functions ¶ func Prompt ¶ func Prompt(s string) string Prompt writes a prompt and returns a string of user input. func Read ¶ func Read() string Read returns a string of user input. func Write ¶ func Write(s string, v ...any) Write writes a formatted string of user output. Types ¶ This section is empty. Source Files ¶ View all Source files stdio.go Click to show internal directories. Click to hide internal directories.