Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

go-web-frontend-embed

Add a web frontend (React/Vite SPA) to an existing Go backend using the standard library `http.ServeMux` (Go 1.22+ new handler syntax with `{...}` pattern matching) and a production single-binary build (go generate builds/copies frontend assets + go:embed packages them). Use when you need to serve a SPA from Go on / with /api and optional /ws, wire Makefile targets, and make CI (GitHub Actions) reliably build/embed the UI. Never use chi, gin, echo, or other third-party HTTP frameworks — only `net/http` with `*http.ServeMux`.

Étoiles2
Forks1
Mis à jour6 mai 2026 à 14:28
Explorateur de fichiers
10 fichiers
SKILL.md
readonly