feat: initial commit

This commit is contained in:
2025-02-21 18:42:56 +01:00
commit ee4a65b345
81 changed files with 3441 additions and 0 deletions

View File

@ -0,0 +1,26 @@
package issue
import (
"net/http"
)
type Handler struct {
mux *http.ServeMux
}
// ServeHTTP implements http.Handler.
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
h.mux.ServeHTTP(w, r)
}
func NewHandler() *Handler {
h := &Handler{
mux: http.NewServeMux(),
}
h.mux.HandleFunc("GET /", h.getIssuePage)
return h
}
var _ http.Handler = &Handler{}