浏览代码

fix typo in comment

Jason Lee 11 年之前
父节点
当前提交
f35dc49c68
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deprecated.go

+ 1 - 1
deprecated.go

@@ -41,7 +41,7 @@ func (engine *Engine) LoadHTMLTemplates(pattern string) {
 	engine.LoadHTMLGlob(pattern)
 }
 
-// DEPRECATED. Use NotFound() instead
+// DEPRECATED. Use NoRoute() instead
 func (engine *Engine) NotFound404(handlers ...HandlerFunc) {
 	engine.NoRoute(handlers...)
 }