chore: bootstrap hostexecutor from template

This commit is contained in:
gitea-actions[bot]
2026-05-12 21:47:36 +02:00
parent 59b1a3a4ec
commit 04fa3cf36e
16 changed files with 108 additions and 130 deletions

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"os"
"__MODULE_PATH__/internal/web"
"gitea.d-ma.be/mathias/hostexecutor/internal/web"
)
func main() {
@@ -19,7 +19,7 @@ func main() {
mux.Handle("/", web.NewHandler())
addr := ":8080"
logger.Info("__PROJECT_NAME__ starting", "addr", addr)
logger.Info("hostexecutor starting", "addr", addr)
if err := http.ListenAndServe(addr, mux); err != nil {
logger.Error("server stopped", "err", err)
os.Exit(1)