diff options
author | Aria <me@aria.rip> | 2023-02-03 15:44:44 +0000 |
---|---|---|
committer | Aria <me@aria.rip> | 2023-02-03 15:44:44 +0000 |
commit | 8c3b1aee5a253416523de78877ae03c3868cc62c (patch) | |
tree | f51e8d0049ad439bea7f4c32c714f4ce29e41e2c /main.go | |
parent | a6c9dba25ad9204ebde302728eb2a75532497f37 (diff) |
first version
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 { |