run gofmt on package

This commit is contained in:
Sam Woodard 2018-10-11 04:47:50 -07:00
parent ed08d4f02a
commit 906357051e
1 changed files with 1 additions and 2 deletions

View File

@ -39,10 +39,9 @@ func TestMarshalPayload(t *testing.T) {
func TestMarshalPayloadWithNulls(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{} var jsonData map[string]interface{}
out := bytes.NewBuffer(nil) out := bytes.NewBuffer(nil)
if err := MarshalPayload(out, books); err != nil { if err := MarshalPayload(out, books); err != nil {
t.Fatal(err) t.Fatal(err)