1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 15:10:54 +00:00
This commit is contained in:
astaxie 2016-01-25 21:05:08 +08:00
parent 46a9c4a390
commit 460aa32b7e

2
fix.go
View File

@ -102,6 +102,7 @@ var rules = []string{
".UrlFor(", ".URLFor(", ".UrlFor(", ".URLFor(",
".ServeJson(", ".ServeJSON(", ".ServeJson(", ".ServeJSON(",
".ServeXml(", ".ServeXML(", ".ServeXml(", ".ServeXML(",
".ServeJsonp(", ".ServeJSONP(",
".XsrfToken(", ".XSRFToken(", ".XsrfToken(", ".XSRFToken(",
".CheckXsrfCookie(", ".CheckXSRFCookie(", ".CheckXsrfCookie(", ".CheckXSRFCookie(",
".XsrfFormHtml(", ".XSRFFormHTML(", ".XsrfFormHtml(", ".XSRFFormHTML(",
@ -150,6 +151,7 @@ var rules = []string{
"orm.Debug_Queries", "orm.DebugQueries", "orm.Debug_Queries", "orm.DebugQueries",
"orm.COMMA_SPACE", "orm.CommaSpace", "orm.COMMA_SPACE", "orm.CommaSpace",
".SendOut()", ".DoRequest()", ".SendOut()", ".DoRequest()",
"validation.ValidationError", "validation.Error",
} }
func fixFile(file string) error { func fixFile(file string) error {