misc #4
|
@ -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)
|
Loading…
Reference in a new issue