package handler import ( "net/http" ) // This handler is executed when the router cannot match any route func NotFound(w http.ResponseWriter, r *http.Request) { http.Error(w, "Invalid url", http.StatusBadRequest) }