skynews

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *term.ViewPort)

The Run function displays a menu of news topics and allows the user to select a topic to view the news articles related to that topic.

func Trans

func Trans(t *term.ViewPort, uri, title string)

The function "Trans" takes in a ViewPort object, a topic, and a title as parameters, and then retrieves news items for that topic from an RSS feed, displays them in a menu, and allows the user to select a news item to view.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL