summaryrefslogtreecommitdiffstats
path: root/cmd/web/main.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmd/web/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/web/main.go b/cmd/web/main.go
index cbfda5e..a8b8cb4 100644
--- a/cmd/web/main.go
+++ b/cmd/web/main.go
@@ -13,6 +13,7 @@ import (
type application struct {
logger *slog.Logger
+ operations *models.OperationModel
organisations *models.OrganisationModel
}
@@ -34,6 +35,7 @@ func main() {
app := &application{
logger: logger,
+ operations: &models.OperationModel{DB: db},
organisations: &models.OrganisationModel{DB: db},
}