13 lines
253 B
Go
13 lines
253 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"mstore/app/router"
|
|
)
|
|
|
|
func (hand *Handler) NotFound(rctx *router.Context) {
|
|
hand.logg.Debugf("Route for [%s %s] not found", rctx.Request.Method, rctx.Request.URL.String())
|
|
rctx.SetStatus(http.StatusNotFound)
|
|
}
|