forked from Mirrors/jsonapi
run gofmt on package
This commit is contained in:
parent
ed08d4f02a
commit
906357051e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue