1
0
mirror of https://github.com/beego/bee.git synced 2024-11-29 16:51:28 +00:00

update orm and httplib fix

This commit is contained in:
astaxie 2016-01-11 14:30:42 +08:00
parent f997f5b625
commit d34e14d013

26
fix.go
View File

@ -103,9 +103,9 @@ var rules = []string{
"beego.UrlFor(", "beego.URLFor(", "beego.UrlFor(", "beego.URLFor(",
"beego.GlobalDocApi", "beego.GlobalDocAPI", "beego.GlobalDocApi", "beego.GlobalDocAPI",
"beego.Errorhandler", "beego.ErrorHandler", "beego.Errorhandler", "beego.ErrorHandler",
"Output.Jsonp(", "Output.JSONP", "Output.Jsonp(", "Output.JSONP(",
"Output.Json(", "Output.JSON", "Output.Json(", "Output.JSON(",
"Output.Xml(", "Output.XML", "Output.Xml(", "Output.XML(",
"Input.Uri()", "Input.URI()", "Input.Uri()", "Input.URI()",
"Input.Url()", "Input.URL()", "Input.Url()", "Input.URL()",
"Input.AcceptsHtml()", "Input.AcceptsHTML()", "Input.AcceptsHtml()", "Input.AcceptsHTML()",
@ -123,6 +123,26 @@ var rules = []string{
"logs.LoggerInterface", "logs.Logger", "logs.LoggerInterface", "logs.Logger",
"Input.Request", "Input.Context.Request", "Input.Request", "Input.Context.Request",
"Input.Params)", "Input.Params())", "Input.Params)", "Input.Params())",
"httplib.BeegoHttpSettings", "httplib.BeegoHTTPSettings",
"httplib.BeegoHttpRequest", "httplib.BeegoHTTPRequest",
".TlsClientConfig", ".TLSClientConfig",
".JsonBody", ".JSONBody",
".ToJson", ".ToJSON",
".ToXml", ".ToXML",
"beego.Html2str", "beego.HTML2str",
"beego.AssetsCss", "beego.AssetsCSS",
"orm.DR_Sqlite", "orm.DRSqlite",
"orm.DR_Postgres", "orm.DRPostgres",
"orm.DR_MySQL", "orm.DRMySQL",
"orm.DR_Oracle", "orm.DROracle",
"orm.Col_Add", "orm.ColAdd",
"orm.Col_Minus", "orm.ColMinus",
"orm.Col_Multiply", "orm.ColMultiply",
"orm.Col_Except", "orm.ColExcept",
"GenerateOperatorSql", "GenerateOperatorSQL",
"OperatorSql", "OperatorSQL",
"orm.Debug_Queries", "orm.DebugQueries",
"orm.COMMA_SPACE", "orm.CommaSpace",
} }
func fixFile(file string) error { func fixFile(file string) error {