From 5757e6548e76b6e7d9d38458b1f24f6b7798aa51 Mon Sep 17 00:00:00 2001 From: bradycao Date: Tue, 19 Jan 2016 10:14:16 +0800 Subject: [PATCH] =?UTF-8?q?template.go=20=E7=9A=84urlfor=20Func=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit template.go 的urlfor Func注释有误 --- template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template.go b/template.go index 363c6754..1b62cf78 100644 --- a/template.go +++ b/template.go @@ -62,7 +62,7 @@ func init() { beegoTplFuncMap["lt"] = lt // < beegoTplFuncMap["ne"] = ne // != - beegoTplFuncMap["urlfor"] = URLFor // != + beegoTplFuncMap["urlfor"] = URLFor // build a URL to match a Controller and it's method } // AddFuncMap let user to register a func in the template.