Skip to content

Commit 3a66e59

Browse files
committed
Merge pull request astaxie#233 from qinhanlei/patch-9
Update 07.4.md
2 parents 487412d + 2a4a352 commit 3a66e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/07.4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Unix用户已经很熟悉什么是`pipe`了,`ls | grep "beego"`类似这样的
162162

163163
type FuncMap map[string]interface{}
164164

165-
例如,如果我们想要的email函数的模板函数名是`emailDeal`,它关联的Go函数名称是`EmailDealWith`,n那么我们可以通过下面的方式来注册这个函数
165+
例如,如果我们想要的email函数的模板函数名是`emailDeal`,它关联的Go函数名称是`EmailDealWith`,那么我们可以通过下面的方式来注册这个函数
166166

167167
t = t.Funcs(template.FuncMap{"emailDeal": EmailDealWith})
168168

0 commit comments

Comments
 (0)