Instantly share code, notes, and snippets.

Embed
What would you like to do?
func NoRouteFn(c *gin.Context) {
c.HTML(http.StatusOK, "index", gin.H{
"title": "Hi! GoBlog.",
"error": "You are requesting something that does not exist.",
})
return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment