bug fix
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -431,7 +431,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) | ... | @@ -431,7 +431,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) |
| 431 | //Invoke the request handler | 431 | //Invoke the request handler |
| 432 | vc := reflect.New(runrouter.controllerType) | 432 | vc := reflect.New(runrouter.controllerType) |
| 433 | 433 | ||
| 434 | StructMap(vc.Elem(), &r) | 434 | StructMap(vc.Elem(), r) |
| 435 | 435 | ||
| 436 | //call the controller init function | 436 | //call the controller init function |
| 437 | init := vc.MethodByName("Init") | 437 | init := vc.MethodByName("Init") | ... | ... |
-
Please register or sign in to post a comment