Documentation ¶ Overview ¶ Package tui implements the Bubble Tea TUI for wwlog. Index ¶ func Run(authObj *auth.Auth, tld, weightUnit string, ds api.DayStore, ...) error type Model func (m Model) Init() tea.Cmd func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (m Model) View() tea.View Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(authObj *auth.Auth, tld, weightUnit string, ds api.DayStore, targets *config.Targets, preStart, preEnd string, version string) error Run initialises and starts the TUI, blocking until the user quits. Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } Model is the top-level Bubble Tea model. func (Model) Init ¶ func (m Model) Init() tea.Cmd func (Model) Update ¶ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) func (Model) View ¶ func (m Model) View() tea.View Source Files ¶ View all Source files dialog.goexit.goexport.goglyphs.gohelp.goinsights.goinsights_layout.gokeys.golocale.golog.gologo.gomodel.gonutrition.gopanes.gosplash.gostyles.go Click to show internal directories. Click to hide internal directories.