mirror of
https://github.com/go-eagle/eagle.git
synced 2025-10-06 00:57:10 +08:00
16 lines
216 B
Go
16 lines
216 B
Go
package web
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// Error404 return 404 page
|
|
func Error404(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "error/404", gin.H{
|
|
"title": "404未找到",
|
|
"ctx": c,
|
|
})
|
|
}
|