(assets embed.FS)
| 16 | } |
| 17 | |
| 18 | func New(assets embed.FS) *Handler { |
| 19 | return &Handler{assets: assets} |
| 20 | } |
| 21 | |
| 22 | func (h *Handler) RegisterRoutes(mux *http.ServeMux) { |
| 23 | publicFS, _ := fs.Sub(h.assets, "public") |
nothing calls this directly
no outgoing calls
no test coverage detected