From 2ce86c480d237e370078299a28679faa14cc27ed Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Tue, 21 Oct 2014 16:29:08 -0700 Subject: [PATCH] commands: go fmt --- commands/request.go | 4 ++-- commands/response.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/commands/request.go b/commands/request.go index 6259e94ba634..04add77aeb19 100644 --- a/commands/request.go +++ b/commands/request.go @@ -2,9 +2,9 @@ package commands import ( "fmt" + "io" "reflect" "strconv" - "io" ) type optMap map[string]interface{} @@ -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 diff --git a/commands/response.go b/commands/response.go index f695427099eb..61dede6e2f2b 100644 --- a/commands/response.go +++ b/commands/response.go @@ -4,8 +4,8 @@ import ( "encoding/json" "encoding/xml" "fmt" + "io" "strings" - "io" ) // ErrorType signfies a category of errors @@ -69,7 +69,7 @@ type response struct { req Request err *Error value interface{} - out io.Writer + out io.Writer } func (r *response) Request() Request { @@ -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 {