We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
升级从 beego@v1.12.1 升级到beego@v1.12.2,生成的commentsRouter的正则出现错误,编译时报错:"unknown escape sequence"。
beego@v1.12.3也同样存在这个问题
routers/commentsRouter_controllers_xxxxxxxxx.go:49:28: unknown escape sequence 46 beego.GlobalControllerRouter["someDir:Controller"] = append(beego.GlobalControllerRouter["someDir:Controller"], 47 beego.ControllerComments{ 48 Method: "SomeMethod", 49 Router: "/:id(\d+)", 50 AllowHTTPMethods: []string{"POST"}, 51 MethodParams: param.Make(), 52 Filters: nil, 53 Params: nil})
有可能是这个变更引起的
diff pkg/mod/github.com/astaxie/beego@v1.12.1/parser.go pkg/mod/github.com/astaxie/beego@v1.12.2/parser.go 503c503 < ` + "Router: `" + c.Router + "`" + `, --- > ` + `Router: "` + c.Router + `"` + `,
The text was updated successfully, but these errors were encountered:
=。=只能说修了一个BUG又引入一个BUG,😭
Sorry, something went wrong.
flycash
Successfully merging a pull request may close this issue.
升级从 beego@v1.12.1 升级到beego@v1.12.2,生成的commentsRouter的正则出现错误,编译时报错:"unknown escape sequence"。
beego@v1.12.3也同样存在这个问题
有可能是这个变更引起的
The text was updated successfully, but these errors were encountered: