Adding functionality to query the sqlite database for consumption or purchases within a specified date range (inclusive).
This functionality isn't used anywhere yet, but I plan to use it in a future subpackage "reporting" for generating reports.
I also organized the model subpackage into model.go, query.go, and update.go. Similar to how we split layout.go into views.go/viewActions.go, I think this organization scheme is more intuitive and avoids the issue of having one massive .go file.
Adding functionality to query the sqlite database for consumption or purchases within a specified date range (inclusive).
This functionality isn't used anywhere yet, but I plan to use it in a future subpackage "reporting" for generating reports.
I also organized the model subpackage into model.go, query.go, and update.go. Similar to how we split layout.go into views.go/viewActions.go, I think this organization scheme is more intuitive and avoids the issue of having one massive .go file.