Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleNewsPrompt ¶
func HandleNewsPrompt(info []Information) (int, string, error)
HandleNewsPrompt handles the format and display of news in CLI
func MapCommandCountry ¶
func MapCommandCountry(subject string) map[string]func() (info []Information)
MapCommandCountry maps a country to a function
Types ¶
type Information ¶
Information type
func HandleBrazilNews ¶
func HandleBrazilNews() (info []Information)
HandleBrazilNews is a method from Crawler type
func HandleUSANews ¶
func HandleUSANews() (info []Information)
HandleUSANews is a method from Crawler type
Click to show internal directories.
Click to hide internal directories.