Przeglądaj źródła

fix typo in comment

Jason Lee 11 lat temu
rodzic
commit
f35dc49c68
1 zmienionych plików z 1 dodań i 1 usunięć
  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...)
 }