mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
XML parsing overhaul
This commit is contained in:
@@ -11,6 +11,8 @@ import (
|
||||
"github.com/Theodor-Springmann-Stiftung/kgpz_web/helpers/logging"
|
||||
"github.com/Theodor-Springmann-Stiftung/kgpz_web/providers"
|
||||
"github.com/Theodor-Springmann-Stiftung/kgpz_web/server"
|
||||
"github.com/Theodor-Springmann-Stiftung/kgpz_web/templating"
|
||||
"github.com/Theodor-Springmann-Stiftung/kgpz_web/views"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -44,7 +46,9 @@ func main() {
|
||||
kgpz := app.NewKGPZ(cfg)
|
||||
kgpz.Init()
|
||||
|
||||
server := server.Create(kgpz, cfg)
|
||||
engine := templating.NewEngine(&views.LayoutFS, &views.RoutesFS, kgpz)
|
||||
|
||||
server := server.Create(kgpz, cfg, engine)
|
||||
Start(kgpz, server)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user