Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMessage ¶
func GetMessage(w io.Writer, colors common.ColorCodes)
LoginMessage writes a message at login
Types ¶
type Conversation ¶
type Conversation struct {
Quotes []Quote
}
Conversation displays a list of quotes
func (Conversation) Write ¶
func (c Conversation) Write(w io.Writer, colors common.ColorCodes)
Write actually writes the message to the terminal
type SimpleMessage ¶
type SimpleMessage struct {
Text string
}
func (SimpleMessage) Write ¶
func (s SimpleMessage) Write(w io.Writer, colors common.ColorCodes)
Click to show internal directories.
Click to hide internal directories.