lishwist/http/routing/not_found.go
2026-02-13 10:36:24 +09:00

14 lines
221 B
Go

package routing
import (
"net/http"
"lishwist/http/response"
"github.com/Teajey/rsvp"
)
func NotFound(w rsvp.ResponseWriter, r *http.Request) rsvp.Body {
return response.Error("Page not found").StatusNotFound()
}