Sfoglia il codice sorgente

fix typo in comment

Jason Lee 11 anni fa
parent
commit
f35dc49c68
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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...)
 }