Files
fn_registry/functions/tui/new_progress.md
T
egutierrez 62dcadceb8 feat: 29 funciones TUI — constructores, runners y helpers del dominio tui
16 constructores puros (NewList, NewSpinner, NewProgress, DefaultStyles...),
4 runners impuros (RunModel, RunFullscreen, RunWithMouseSupport, Confirm),
5 print helpers impuros (PrintSuccess/Error/Warning/Info/Muted) y
4 utilidades puras (Quit, ClearScreen, HideCursor, ShowCursor).
Stubs que documentan devfactory/tui para el registry.
2026-03-28 03:58:12 +01:00

674 B

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports tested tests test_file_path file_path
new_progress function go tui 1.0.0 pure func NewProgress(total float64, label string) ProgressModel Construye un modelo de barra de progreso con valor total y etiqueta descriptiva.
tui
progress
constructor
progress_model_go_tui
false
false
functions/tui/new_progress.go

Ejemplo

model := NewProgress(100.0, "Descargando archivos")

Notas

El progreso inicia en 0. El avance se actualiza via mensajes en el loop de Bubble Tea.