diff --git a/response_test.go b/response_test.go index dc89c48..5b42595 100644 --- a/response_test.go +++ b/response_test.go @@ -39,10 +39,9 @@ func TestMarshalPayload(t *testing.T) { func TestMarshalPayloadWithNulls(t *testing.T) { - books := []*Book{nil, {ID:101}, nil} + books := []*Book{nil, {ID: 101}, nil} var jsonData map[string]interface{} - out := bytes.NewBuffer(nil) if err := MarshalPayload(out, books); err != nil { t.Fatal(err)