fix the import cycle not allowed

This commit is contained in:
astaxie 2014-10-30 16:12:54 +08:00
parent fda841208d
commit ecd0a5487e
1 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ import (
"strings"
"time"
"github.com/astaxie/beego"
"github.com/astaxie/beego/middleware"
"github.com/astaxie/beego/utils"
)
@ -71,7 +70,7 @@ func (ctx *Context) Abort(status int, body string) {
}
// last panic user string
ctx.ResponseWriter.Write([]byte(body))
panic(beego.USERSTOPRUN)
panic("User stop run")
}
// Write string to response body.