From be672ad54adc7226d2cde7469236b707dc5971ff Mon Sep 17 00:00:00 2001 From: Doug Black Date: Sat, 29 Mar 2014 23:28:06 -0700 Subject: add header to core_test --- core_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core_test.go b/core_test.go index 196c52f..d0b17e9 100644 --- a/core_test.go +++ b/core_test.go @@ -10,10 +10,10 @@ import ( type Item struct{} -func (item Item) Get(values url.Values) (int, interface{}) { +func (item Item) Get(values url.Values, headers http.Header) (int, interface{}, http.Header) { items := []string{"item1", "item2"} data := map[string][]string{"items": items} - return 200, data + return 200, data, nil } func TestBasicGet(t *testing.T) { -- cgit