diff options
Diffstat (limited to '')
-rw-r--r-- | cmd/web/main.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/cmd/web/main.go b/cmd/web/main.go index a8b8cb4..7e25124 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -12,9 +12,10 @@ import ( ) type application struct { - logger *slog.Logger - operations *models.OperationModel - organisations *models.OrganisationModel + logger *slog.Logger + operations *models.OperationModel + organisations *models.OrganisationModel + engagement_strategies *models.EngagementStrategyModel } func main() { @@ -34,9 +35,10 @@ func main() { defer db.Close() app := &application{ - logger: logger, - operations: &models.OperationModel{DB: db}, - organisations: &models.OrganisationModel{DB: db}, + logger: logger, + operations: &models.OperationModel{DB: db}, + organisations: &models.OrganisationModel{DB: db}, + engagement_strategies: &models.EngagementStrategyModel{DB: db}, } // mux := http.NewServeMux() |