diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -26,6 +26,10 @@ func main() { } func runProgram() error { + err := setupDB() + if err != nil { + return fmt.Errorf("Error connecting to KV store: %s", err) + } model, err := tea.NewProgram(StartSelecting(), tea.WithMouseCellMotion()).Run() if err != nil { |