Skip to content

Commit e076a94

Browse files
author
keks
committed
pretty imports, whitespace
1 parent fa7d65e commit e076a94

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

http/http_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"runtime"
1010
"testing"
1111

12-
cmds "github.com/ipfs/go-ipfs-cmds"
12+
"github.com/ipfs/go-ipfs-cmds"
1313
)
1414

1515
func TestHTTP(t *testing.T) {

http/response.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"errors"
55
"io"
66
"net/http"
7+
"reflect"
78
"strings"
89

910
"github.com/ipfs/go-ipfs-cmdkit"
1011
"github.com/ipfs/go-ipfs-cmds"
11-
"reflect"
1212
)
1313

1414
var (
@@ -83,6 +83,7 @@ func (res *Response) Next() (interface{}, error) {
8383
}
8484
value = reflect.New(valueType).Interface()
8585
}
86+
8687
m := &cmds.MaybeError{Value: value}
8788
err := res.dec.Decode(m)
8889
if err != nil {

0 commit comments

Comments
 (0)