1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-01 04:00:18 +00:00

make golint happy

This commit is contained in:
astaxie
2015-09-08 21:41:38 +08:00
parent 61570ac2f7
commit 67b36d7c48
13 changed files with 94 additions and 88 deletions

View File

@ -53,7 +53,7 @@ func (tc *TestController) Myext() {
}
func (tc *TestController) GetUrl() {
tc.Ctx.Output.Body([]byte(tc.UrlFor(".Myext")))
tc.Ctx.Output.Body([]byte(tc.URLFor(".Myext")))
}
func (t *TestController) GetParams() {
@ -76,7 +76,7 @@ type JsonController struct {
func (this *JsonController) Prepare() {
this.Data["json"] = "prepare"
this.ServeJson(true)
this.ServeJSON(true)
}
func (this *JsonController) Get() {