mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-09 21:27:45 +02:00
feat:#10 added new minimal backend
This commit is contained in:
18
datamanager/main.go
Normal file
18
datamanager/main.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"datamanager/backend"
|
||||
"datamanager/service"
|
||||
"log/slog"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
app := backend.New()
|
||||
|
||||
service.AddRoutes(app)
|
||||
|
||||
if err := app.Start(); err != nil {
|
||||
slog.Error("Failed to start app: %v", err)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user