lishwist/http/routing/not_found.go
2025-12-16 00:38:05 +09:00

14 lines
221 B
Go

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