Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ElizaFarewells []string
ElizaFarewells holds responses for after the user quit the program
View Source
var ElizaGreetings []string
ElizaGreetings holds strings for greeting the user
View Source
var UserFarewells map[string]int
UserFarewells holds string options for the user to quit the program
Functions ¶
func GetResponse ¶
GetResponse returns an appropriate response to the user input
func SliceToMap ¶
SliceToMap converts a string slice into a map convience function for fastercheck if user entered a keyword for quiting the program
Types ¶
Click to show internal directories.
Click to hide internal directories.