Documentation
¶
Overview ¶
Package "menu" provides logic to show menu of choices corresponding to connection entries to the user and getting the user's input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadChoice ¶
func ReadChoice(connectionList *[]config.Connection) (*config.Connection, error)
ReadChoice takes in a list of Connection instances and renders a menu on screen for the user to choose. It returns the chosen connection, or nil if nothing was chosen.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.