func (this *ModelBinderFixture) Setup() { this.controller = &Controller{} this.request, _ = http.NewRequest("GET", "/?binding=BindingInputModel", nil) this.response = httptest2.NewRecorder() }
func (this *ResultFixture) Setup() { this.response = httptest2.NewRecorder() this.request, _ = http.NewRequest("GET", "/", nil) }