Documentation ¶
Overview ¶
Package driver provides an external entry point to the vyx driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UI ¶
type UI interface { // ReadLine returns a line of text (a command) read from the user. // prompt is printed before reading the command. ReadLine(prompt string) (string, error) // Print shows a message to the user. // It formats the text as fmt.Print would and // adds a final \n if not already present. // For line-based UI, Print writes to STDERR. Print(...any) // PrintErr shows a message to the user. // It formats the text as fmt.Print would and // adds a final \n if not already present. // For line-based UI, Print writes to STDERR. PrintErr(...any) }
A UI manages user interactions.
Click to show internal directories.
Click to hide internal directories.