Building a web service with go-tool-base, part 3.5: the same server, now a website
Serve HTML from the same Go HTTP server using html/template and embed, baking templates and static assets straight into the binary.

Serve HTML from the same Go HTTP server using html/template and embed, baking templates and static assets straight into the binary.

Two ways to put REST on a Go service: a hand-written net/http ServeMux, and generated handlers from an OpenAPI spec with oapi-codegen.
