fixup, add docs

This commit is contained in:
2025-07-12 22:49:05 -07:00
parent 686cb97eb3
commit 001992a688
9 changed files with 21 additions and 70 deletions

View File

@@ -32,7 +32,7 @@ type (
ExecuteQueryMsg struct{ Query string }
)
// Main application model
// Model is the main application model
type Model struct {
db *sql.DB
currentView tea.Model
@@ -41,7 +41,7 @@ type Model struct {
err error
}
// Shared data that all models need access to
// SharedData that all models need access to
type SharedData struct {
DB *sql.DB
Tables []string
@@ -602,4 +602,5 @@ func (m *Model) getSharedData() *SharedData {
// Fallback - create new shared data
return NewSharedData(m.db)
}
}
}