chore: remove not implemented stubs

This commit is contained in:
2026-05-08 09:27:49 +02:00
parent caf84740fc
commit ccc40d8d9d
3 changed files with 0 additions and 29 deletions

View File

@@ -446,34 +446,10 @@ func (h *Handler) HandleSearch(w http.ResponseWriter, r *http.Request) {
renderNotFoundPage(r, w)
}
func (h *Handler) HandleAPISearch(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func (h *Handler) HandleAPICatalog(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func (h *Handler) HandleAPIEpisodes(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func (h *Handler) HandleAPIDiscoverAiring(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func (h *Handler) HandleAPIDiscoverUpcoming(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func (h *Handler) HandleStudioDetails(w http.ResponseWriter, r *http.Request) {
renderNotFoundPage(r, w)
}
func (h *Handler) HandleAPIStudioAnime(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented yet", http.StatusNotImplemented)
}
func renderNotFoundPage(r *http.Request, w http.ResponseWriter) {
w.WriteHeader(http.StatusNotFound)
if err := templates.GetRenderer().ExecuteTemplate(r.Context(), w, "not_found.gohtml", map[string]any{

View File

@@ -19,10 +19,6 @@ func NewHandler(service *Service) *Handler {
return &Handler{service: service}
}
func (h *Handler) HandleCardWatchlist(w http.ResponseWriter, r *http.Request) {
http.Error(w, "Not implemented", http.StatusNotImplemented)
}
func (h *Handler) HandleUpdateWatchlist(w http.ResponseWriter, r *http.Request) {
if r.Method != http.MethodPost {
http.Error(w, "method not allowed", http.StatusMethodNotAllowed)