coba landing page hanan
This commit is contained in:
@@ -46,6 +46,14 @@ func main() {
|
||||
xh := handlers.NewXsampleHandler(xs)
|
||||
handlers.SetupRoutesXsample(app, xh)
|
||||
|
||||
lStore, err := db.NewLandingPageStore(dbName)
|
||||
if err != nil {
|
||||
app.Logger.Fatalf("failed to create store: %s", err)
|
||||
}
|
||||
ls := services.NewServicesLandingPage(services.LandingPage{}, lStore)
|
||||
lh := handlers.NewLandingPageHandler(ls)
|
||||
handlers.SetupRoutesLandingPage(app, lh)
|
||||
|
||||
app.Logger.Fatal(app.Start(":5000"))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user