misc #4

Merged
aynish merged 8 commits from misc into main 2024-08-31 18:12:03 -07:00
Showing only changes of commit 2227273dd3 - Show all commits

View file

@ -7,7 +7,7 @@ import (
"log" "log"
"os" "os"
"mast/db" mast "mast/db"
"github.com/charmbracelet/bubbles/textinput" "github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea" tea "github.com/charmbracelet/bubbletea"
@ -89,6 +89,8 @@ func (m *model) addTodo(todo string) {
panic(err) panic(err)
} }
// TODO:
// func sync_changes
rows, err := m.db.Query("SELECT * FROM crsql_changes") rows, err := m.db.Query("SELECT * FROM crsql_changes")
if err != nil { if err != nil {
log.Println("Error querying crsql_changes:", err) log.Println("Error querying crsql_changes:", err)