lishwist/http/routing/not_found.go

12 lines
202 B
Go

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