func NotFoundRoute(app *gin.Engine) {
	app.Use(
		func(c *gin.Context) {
			c.JSON(http.StatusNotFound, map[string]interface{}{
				"error": true,
				"msg":   "sorry, endpoint is not found",
			})
		},
	)
}
NotFoundRoute defines the 404 Error route.
package routes
import (
	"github.com/gin-gonic/gin"
	"net/http"
)