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