lishwist/http/routing/not_found.go

12 lines
186 B
Go

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