Skip to main content
Run any Skill in Manus
with one click

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`.

Stars2
Forks1
UpdatedMay 6, 2026 at 14:28
File Explorer
10 files
SKILL.md
readonly