models

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusInfo    = "info"
	StatusSuccess = "success"
	StatusError   = "error"
	StatusWarning = "warning"
)

StatusType constants for type safety

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Value   string
	Formula string
	Row     int
	Col     int
}

Cell represents a single cell in the spreadsheet

type Mode

type Mode int

Mode represents the current application mode

const (
	ModeNormal Mode = iota
	ModeSearch
	ModeDetail
	ModeJump
	ModeExport
	ModeTheme
	ModeChart
	ModeSelectRange
)

type Sheet

type Sheet struct {
	Name    string
	Rows    [][]Cell
	MaxRows int
	MaxCols int
}

Sheet represents a worksheet with its data

type StatusMsg

type StatusMsg struct {
	Message string
	Type    string // "info", "success", "error", "warning"
}

StatusMsg represents a status message with type

Jump to

Keyboard shortcuts

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