from stash menu sidebar

This commit is contained in:
sindhu
2024-05-03 09:21:49 +07:00
parent f5e512aa6e
commit 80ff72e3b3
11 changed files with 1989 additions and 2 deletions

View File

@@ -64,7 +64,15 @@ func main() {
}
lps := services.NewServicesLandingPage(services.LandingPage{}, LpStore)
lphs := handlers.NewLandingPageHandler(lps)
handlers.SetupRoutesLandingPage(app, lphs)
// handlers.SetupRoutesLandingPage(app, lphs)
Lpmastermenustore, err := db.NewMasterMenuUserGroupStore(dbName)
if err != nil {
app.Logger.Fatalf("failed to create store: %s", err)
}
mastermenuservices := services.NewServicesMasterMenuUserGroup(services.MasterMenu{}, Lpmastermenustore)
mastermenuhandler := handlers.NewMasterMenuUserGroupHandler(mastermenuservices)
handlers.SetupRoutesLandingPage(app, lphs, mastermenuhandler)
LpchartStore, err := db.NewPieChartStore(dbName)
if err != nil {