Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { view.MultiSourceWidget view.TextWidget // APIKey string Data []*owm.CurrentWeatherData // contains filtered or unexported fields }
Widget is the container for weather data.
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget
NewWidget creates and returns a new instance of the weather Widget
Click to show internal directories.
Click to hide internal directories.