--- name: new_progress kind: function lang: go domain: tui version: "1.0.0" purity: pure signature: "func NewProgress(total float64, label string) ProgressModel" description: "Construye un modelo de barra de progreso con valor total y etiqueta descriptiva." tags: [tui, progress, constructor] uses_functions: [] uses_types: [] returns: [progress_model_go_tui] returns_optional: false error_type: "" imports: [] tested: false tests: [] test_file_path: "" file_path: "functions/tui/new_progress.go" --- ## Ejemplo ```go model := NewProgress(100.0, "Descargando archivos") ``` ## Notas El progreso inicia en 0. El avance se actualiza via mensajes en el loop de Bubble Tea.