mirror of
https://github.com/gin-gonic/gin.git
synced 2025-07-15 04:00:21 +08:00
Renames NotFound404 to NotFound
This commit is contained in:
@ -36,3 +36,8 @@ func (engine *Engine) ServeFiles(path string, root http.FileSystem) {
|
||||
func (engine *Engine) LoadHTMLTemplates(pattern string) {
|
||||
engine.LoadHTMLGlob(pattern)
|
||||
}
|
||||
|
||||
// DEPRECATED. Use NotFound() instead
|
||||
func (engine *Engine) NotFound404(handlers ...HandlerFunc) {
|
||||
engine.NotFound(handlers...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user