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

logv

package
v0.0.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackMsg

type BackMsg struct{}

Message de retour pour signaler au menu principal de reprendre la main

type Model

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

Modèle principal contenant les composants (Picker, Viewport) et l'état des données

func New

func New(w, h int) Model

Initialisation des composants avec configuration des couleurs et dimensions

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

type SessionState

type SessionState int

États de la machine à états interne

const (
	StateChooseMethod SessionState = iota
	StatePickingFile
	StateViewing
)

Jump to

Keyboard shortcuts

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