mirror of
https://github.com/astaxie/beego.git
synced 2025-07-04 09:40:19 +00:00
golint fixes
This commit is contained in:
@ -813,7 +813,7 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
||||
default:
|
||||
if !execController.HandlerFunc(runMethod) {
|
||||
method := vc.MethodByName(runMethod)
|
||||
var in []reflect.Value = param.ConvertParams(methodParams, method.Type(), context)
|
||||
in := param.ConvertParams(methodParams, method.Type(), context)
|
||||
out := method.Call(in)
|
||||
|
||||
//For backward compatibility we only handle response if we had incoming methodParams
|
||||
|
Reference in New Issue
Block a user