1
0
mirror of https://github.com/beego/bee.git synced 2024-11-25 20:10:55 +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(",
".ServeJson(", ".ServeJSON(",
".ServeXml(", ".ServeXML(",
".ServeJsonp(", ".ServeJSONP(",
".XsrfToken(", ".XSRFToken(",
".CheckXsrfCookie(", ".CheckXSRFCookie(",
".XsrfFormHtml(", ".XSRFFormHTML(",
@ -150,6 +151,7 @@ var rules = []string{
"orm.Debug_Queries", "orm.DebugQueries",
"orm.COMMA_SPACE", "orm.CommaSpace",
".SendOut()", ".DoRequest()",
"validation.ValidationError", "validation.Error",
}
func fixFile(file string) error {