package web import ( "net/http" ) func (h *Handler) registerRoutes(mux *http.ServeMux) { mux.Handle("POST /api/checkout", h.createCheckoutSession()) mux.Handle("GET /", h.renderCheckoutPage()) mux.Handle("GET /static/", http.StripPrefix("/static/", http.FileServer(http.FS(h.fs)))) }