add db query for listing gemlog enteries
This commit is contained in:
parent
09fb974bd2
commit
59b46d4902
5 changed files with 85 additions and 3 deletions
1
main.go
1
main.go
|
|
@ -120,6 +120,7 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
// TODO: check if we can reach db before starting program
|
||||
p := tea.NewProgram(initialModel(config))
|
||||
if _, err := p.Run(); err != nil {
|
||||
fmt.Printf("Alas, there's been an error: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue