Help us shape the future of Go! Take the 2026 Go Developer Survey

app

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2026 License: MIT Imports: 41 Imported by: 0

Documentation

Overview

Package app is the Bubbletea root model: tabs, sidebar, overlays, and key/mouse routing live here; each editor pane manages itself.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Date    = ""
)

Version and Date are set by cmd/cove from its ldflags-stamped values; Date is empty unless stamped (git builds fall back to vcs.time).

Functions

This section is empty.

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func New

func New(path string, data []byte) Model

New builds the app. path may be a file (opened as the first tab), a directory (becomes the workspace root), or empty (cwd).

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() string

Jump to

Keyboard shortcuts

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