refactor: déplacer Go à la racine, embed services.html, route /viewServices/services.html

- go.mod renommé (module viewServices sans sous-dossier backend/)
- services.go déplacé à la racine avec //go:embed frontend/services.html
- Route GET /viewServices/services.html servie directement par le backend
- Suppression de backend/ (code désormais à la racine du module)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
enzo 2026-03-22 04:35:20 +01:00
parent f1d475c7e5
commit b1ce7e4af6
4 changed files with 89 additions and 10 deletions

24
go.mod Normal file
View file

@ -0,0 +1,24 @@
module git.geronzi.fr/proxmoxPanel/viewServices
go 1.26.1
require (
git.geronzi.fr/proxmoxPanel/core/backend v0.0.0
github.com/go-chi/chi/v5 v5.2.5
)
require (
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
golang.org/x/crypto v0.49.0 // indirect
golang.org/x/sys v0.42.0 // indirect
modernc.org/libc v1.70.0 // indirect
modernc.org/mathutil v1.7.1 // indirect
modernc.org/memory v1.11.0 // indirect
modernc.org/sqlite v1.47.0 // indirect
)
replace git.geronzi.fr/proxmoxPanel/core/backend => ../core/backend