ecd0a548 by astaxie

fix the import cycle not allowed

1 parent fda84120
...@@ -31,7 +31,6 @@ import ( ...@@ -31,7 +31,6 @@ import (
31 "strings" 31 "strings"
32 "time" 32 "time"
33 33
34 "github.com/astaxie/beego"
35 "github.com/astaxie/beego/middleware" 34 "github.com/astaxie/beego/middleware"
36 "github.com/astaxie/beego/utils" 35 "github.com/astaxie/beego/utils"
37 ) 36 )
...@@ -71,7 +70,7 @@ func (ctx *Context) Abort(status int, body string) { ...@@ -71,7 +70,7 @@ func (ctx *Context) Abort(status int, body string) {
71 } 70 }
72 // last panic user string 71 // last panic user string
73 ctx.ResponseWriter.Write([]byte(body)) 72 ctx.ResponseWriter.Write([]byte(body))
74 panic(beego.USERSTOPRUN) 73 panic("User stop run")
75 } 74 }
76 75
77 // Write string to response body. 76 // Write string to response body.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!