From 8c3b1aee5a253416523de78877ae03c3868cc62c Mon Sep 17 00:00:00 2001 From: Aria Date: Fri, 3 Feb 2023 15:44:44 +0000 Subject: first version --- main.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 9656146..c4cb4f2 100644 --- a/main.go +++ b/main.go @@ -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 { -- cgit v1.2.3