Skip to content

Commit

Permalink
commands: go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Oct 21, 2014
1 parent 9d7374a commit 2ce86c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions commands/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package commands

import (
"fmt"
"io"
"reflect"
"strconv"
"io"
)

type optMap map[string]interface{}
Expand All @@ -24,7 +24,7 @@ type request struct {
path []string
options optMap
arguments []string
in io.Reader
in io.Reader
}

// Path returns the command path of this request
Expand Down
6 changes: 3 additions & 3 deletions commands/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"encoding/json"
"encoding/xml"
"fmt"
"io"
"strings"
"io"
)

// ErrorType signfies a category of errors
Expand Down Expand Up @@ -69,7 +69,7 @@ type response struct {
req Request
err *Error
value interface{}
out io.Writer
out io.Writer
}

func (r *response) Request() Request {
Expand All @@ -85,7 +85,7 @@ func (r *response) SetValue(v interface{}) {
}

func (r *response) Stream() io.Writer {
return r.out
return r.out
}

func (r *response) Error() error {
Expand Down

0 comments on commit 2ce86c4

Please sign in to comment.